1. Introduction
The ABA PayWay Odoo eCommerce Plugin lets you easily integrate ABA PayWay into your Odoo Website store. This provide a secure online checkout experience while offering multiple popular payment methods, including:
- Local: ABA KHQR
- International: Card (Visa, Mastercard, UnionPay), WeChat Pay, Alipay
2. How it Works
Full Purchase — Payment is charged immediately when the customer completes the payment. Supports all payment methods — ABA KHQR, Card, WeChat Pay, and Alipay.
- Shopper adds items to cart and proceeds to checkout.
- Shopper selects an ABA PayWay payment method — ABA KHQR, Card, WeChat Pay, or Alipay.
- A PayWay-hosted payment popup opens with the correct order amount.
- Shopper completes payment inside the secure PayWay popup.
- Upon successful payment, the shopper is redirected to a thank you page and the order is automatically marked as Paid.
Authorize then Capture (Card and ABA KHQR only)
Payment is authorized and a hold is placed on the payer's account — no charge until the Merchant successfully fufiles the order.
- Shopper adds items to cart and proceeds to checkout.
- Shopper selects Card or ABA KHQR as the payment method.
- A PayWay-hosted payment popup opens — shopper authorizes the payment.
- The amount is reserved on the shopper's account — not yet charged.
- Merchant reviews and captures the payment manually from the Odoo backend — full or partial amount.
3. Integration Steps
3.1 Setup
Follow the steps below to integrate ABA PayWay into your Odoo Website store.
Prerequisites
Before integrating ABA PayWay into your Odoo eCommerce store, ensure you have the following:
- A PayWay Sandbox Account: Register here to receive your testing Merchant ID and API Key via email.
- An Odoo 18 instance with the Website module active, hosted on-premise or Odoo.sh. Odoo.com cloud is not supported.
- Odoo Admin access — required to install apps and configure payment settings on your Odoo instance.
Step 1: Download and Install the Plugin
Go to apps.odoo.com and search for ABA PayWay for Odoo eCommerce. Download the module — you will receive one file: payment_aba_payway.zip.
This plugin is built for Odoo 18 and is not compatible with earlier versions.
addons directory on the server.Configurations:In
/etc/odoo.conf, set addons_path to include the folder containing the ABA PayWay modules:./addons to /mnt/extra-addons in the volume config. Then restart the service:In Odoo:
- Go to Settings › General Settings and activate Developer Mode
- Go to Apps › Update Apps List to sync new modules
- Search for ABA PayWay for Odoo eCommerce and click Install
After install, ABA PayWay appears as a separate entry under Website › Configuration › Payment Providers.
Step 2: Configure the ABA PayWay Plugin
Go to Website › Configuration › Payment Providers and click on ABA PayWay.
Enable Test Mode, select the Sandbox environment, and enter your credentials. Your Merchant ID and API Keys are in the email you received after sandbox registration.
Configuration Fields
Toggle between Sandbox (for testing) and Production (for live payments). Always start in Sandbox mode to ensure payment is tested properly.
Enter your unique ABA PayWay Merchant ID. You can find it in the email registered for your PayWay Sandbox account. When you're ready to go live, replace it with your production Merchant ID.
Enter your ABA PayWay Sandbox API Key for testing. You can find it in the email registered for your PayWay Sandbox account.
Used for request signing and response verification.
Click Save to store your credentials.
The capture mode controls whether payment is charged immediately or held and captured later. This applies to all transactions on this provider.
Go to Website › Configuration › Payment Providers › ABA PayWay and locate the Capture Mode field.
| Mode | Description |
|---|---|
| Full Purchase (default) | Payment is captured immediately when the shopper completes the payment popup |
| Authorize then Capture | Payment is authorized and reserved — merchant captures manually from the backend. Supports Card and ABA KHQR only |
Click Save.
Go to Website › Configuration › Payment Providers › ABA PayWay and locate the Payment Methods section. Enable the methods relevant to your store.
| Method | Type |
|---|---|
| ABA KHQR | Local — ABA Mobile and any KHQR-compatible app |
| Card (Visa, Mastercard, UnionPay) | International debit/credit card |
| WeChat Pay | International — WeChat users |
| Alipay | International — Alipay users |
For production: only enable payment methods confirmed with the ABA PayWay sales team during onboarding.
Only the methods enabled here will appear at checkout.
3.2 Testing
Step 1: Test & Verify the Setup
To confirm a successful setup, preview your Odoo Website store and test the payment flow to ensure everything works as expected.
Verification Checklist:
Go to your store, add a product to the cart, and proceed to checkout.
Verify that the configured ABA PayWay payment methods appear on the payment step:
- ABA KHQR
- Card (Visa, Mastercard, UnionPay)
- WeChat Pay
- Alipay
All payment methods are available for testing in sandbox mode.
For live payments, only the options you've agreed upon with the ABA PayWay sales team will be available.
Step 2: Test Transactions in Sandbox Mode
Select a payment method at checkout. A loading state appears briefly, then the PayWay payment popup opens with the correct order amount.
Step 2: Test Transactions in Sandbox Mode
Complete the payment inside the popup. After successful payment:
- Shopper is redirected to the thank you page with order number and status
- Order is marked as Paid in Odoo
Step 3: Confirm Order Status
After payment, confirm the response status updates correctly.
✅ Success Status — order is automatically marked as Paid and the shopper is redirected to the thank you page.
❌ Cancelled / Payment failed — Order stays pending — no charge made.
Step 4: Verify Transactions
On ABA PayWay Sandbox Portal
You can track transaction details inside the PayWay Sandbox Portal › Transactions — Sign in here.
On Odoo
Go to Website › Configuration › Payment Transactions to see full transaction details, including status, amount, payment method, and capture mode.
Step 5: Test a Refund
ABA PayWay supports both full and partial refunds for eCommerce orders. Refunds are initiated from the Odoo backend — the plugin calls the ABA PayWay refund API automatically and the refund is reflected in both Odoo and the ABA PayWay Merchant Portal.
Go to Website › Orders, select the paid order and click Refund.
- For a full refund — keep the full amount
- For a partial refund — enter the amount you'd like to refund your customer
Click Refund to process. The refund is applied immediately.
The refund is automatically reflected in:
- Odoo — order status updates and refund record created
- ABA PayWay Merchant Portal — transaction appears under your refund history.
Note: Transaction refunded using the Merchant Portal does not reflect the transaction status on Odoo.
4. Going Live
Great job! You've completed the sandbox testing, and your store is ready to go live.
Let's make it official! Follow these steps to start accepting real payments:
To start accepting real payments, you'll need a production ABA Merchant Account.
If you don't have one yet, please contact our E-Merchant Acquisition team at [email protected] to get started today!
After finalizing your agreement with our team, you'll receive your production credentials.
Go to Website › Configuration › Payment Providers › ABA PayWay.
- Replace your Sandbox API Key and Merchant ID with your production credentials
- Add your RSA Private Key issued by the ABA PayWay sales team
- Switch the Environment toggle to
Production
Click Save to apply your production credentials.
Make a small live payment on your store to ensure the transaction settles to your ABA merchant account.
You did it! Your Odoo Website store is officially live and ready to accept real payments with ABA PayWay.
💡 Note
For troubleshooting or if you have any questions, please contact [email protected].