payOS Payment Gateway - VietQR Payment with Auto Confirmation | Vietnam Payment Gateway
by Modvanta https://modvantaapps.tech/odoo-apps/payment-payos/
Odoo
$ 39.88

VietQR payments with auto confirmation in Odoo 19, through payOS
payOS | VietQR | bank transfer QR | webhook | Vietnam | VND
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Adds payOS as a payment provider in Odoo. The customer opens the payOS page, scans a VietQR code with a Vietnamese banking app, and Odoo confirms the order by itself when the transfer arrives.
| VietQR payment link: created for each payment, with an expiry you choose | |
| Signed webhook: the signature is checked, then Odoo reads the link, so a partial transfer never marks the order as paid | |
| Register Webhook button: saves the webhook on your payOS channel from Odoo | |
| Check status and cancel: from buttons on the transaction, and by a scheduled action when a webhook is lost | |
| Partial transfers: the amount received is shown and the payment stays pending until it is complete | |
| Buyer details and order lines: sent to payOS, without Vietnamese accents where banks need plain text | |
| Two databases, one channel: order codes carry a checksum of the database, so a staging copy cannot collide with production | |
| API log: each call and webhook, masked | |
| Vietnamese: the module is translated |
Who it is for
VIETNAMESE SHOPS Get paid by bank transfer without checking the bank statement by hand. | INVOICING TEAMS A payment link on the invoice is reconciled when the transfer arrives. | POINT OF SALE Use the Odoo online payment method of the register with payOS. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| VietQR auto confirmation | Static QR without confirmation | Confirmed by a signed webhook |
| Partial transfer handling | Not included | Stays pending, amount shown |
| Payment link cancellation | Not included | From the transaction |
Screenshots
Taken on a clean Odoo 19 database with this module installed. No merchant account was used: the answers of the gateway on this test database are simulated from its public API documentation.
1. Checkout
The customer picks payOS on the Odoo payment page (website, invoice, payment link).

2. Payment confirmed
Back from payOS, Odoo has read the result itself and shows the confirmation.

3. Keys
The keys of your payOS account, the URL to give to payOS and the Test Connection button.

4. Options
What is sent to payOS, how long a payment stays open and how long the log is kept.

5. Test Connection
One click tells you whether payOS accepts your keys.

6. API log
Every call and every notification, with keys and customer contact details masked.

How it works
| 1 | Install the module and open Payment Providers > payOS. |
| 2 | Enter the Client ID, API Key and Checksum Key of your payment channel at my.payos.vn, then press Test Connection. |
| 3 | Press Register Webhook (the database needs a public https address). |
| 4 | Enable the provider. |
Settings
| Link Valid For: minutes before the link can no longer be paid | |
| Send Order Lines / Send Buyer Details: what payOS receives | |
| Keep API Log: days of log |
FAQ
Is there a sandbox?
payOS documents one environment only. Test mode in Odoo also creates real links, and the provider form warns about it.
Has it been tested with a live payOS account?
It was built from the public payOS documentation; the signature code reproduces the example printed in that documentation. Try it with a small amount on your own channel first.
Can I refund from Odoo?
No. payOS documents no refund API: refund with a bank transfer.
Why is the transfer description so short?
payOS limits it to 9 characters for accounts not linked through payOS, so Odoo sends the end of the reference.
Compatibility
Odoo 19 CommunityOdoo 19 EnterpriseOn PremiseOdoo.sh
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Free fixes for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 854 |
| Technical Name |
mdv_payment_payos |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/payment-payos/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module