Odoo 19 app

toyyibPay Payment Gateway

Take FPX, card and DuitNow QR payments through toyyibPay.

What it does

Odoo creates a toyyibPay bill for each payment, sends the customer to the bill page and marks the payment done once toyyibPay says the money arrived. Ringgit only, sandbox and production.

Paste the User Secret Key from your toyyibPay account and press Create Category (or paste a category code you already use). Test Connection reads the category back, so you know the key and the code belong together before a customer ever sees the page.

When a customer pays from the Odoo payment form (an invoice in the portal, a payment link or the shop checkout), Odoo creates the bill with the amount in sen, your order reference and the customer contact, then sends them to the toyyibPay page. If they already picked FPX or Card in Odoo, only that channel is offered there.

toyyibPay posts a callback when the payment finishes. Odoo checks its MD5 hash against your secret key, and then asks toyyibPay for the bill transactions itself. The status and amount it uses come from that answer, not from the posted form. A customer who comes back to the shop sees the result straight away.

Bills that nobody pays are set inactive on toyyibPay after the number of days you choose, and the Odoo payment is cancelled. An hourly job also picks up any payment whose callback never arrived.