Odoo 19 app

VNPAY Payment Gateway

Take VNPAY payments in Odoo 19: VNPAY-QR, ATM cards and international cards, with refunds from Odoo

VNPAYVNPAY-QRATMNapasVisaMastercardJCBVND

What it does

Adds VNPAY as a payment provider. Odoo builds the signed VNPAY payment URL, sends the customer to the VNPAY page, and marks the order or invoice paid on the signed IPN, or after asking VNPAY itself (querydr) when the customer comes back first.

Features

VNPAY payment pageVNPAY-QR, domestic ATM card or bank account, and international cards; the method picked in Odoo opens the matching VNPAY screen
Signed IPNvnp_SecureHash (HMAC-SHA512) is checked first; Odoo answers with the RspCode VNPAY expects (00, 02, 01, 04, 97, 99)
Amount and terminal checkthe IPN amount must match the transaction and the terminal code must be yours
Transaction queryquerydr from a button, on the return of the customer and on schedule; the checksum of the answer is checked too
Refunds from Odoofull (type 02) or partial (type 03); a refund VNPAY is still processing is followed up
Vietnamese text rulesorder descriptions are sent without accents or special characters, as VNPAY asks
Sandbox and productionTest mode uses sandbox.vnpayment.vn; for Enabled you enter the production URLs VNPAY gives you
API logevery payment URL, query, refund and IPN, with the checksum and customer IP masked