AsiaPay¶
AsiaPay is an online payments provider established in Hong Kong and covering several Asian countries and payment methods.
Configuration on AsiaPay Dashboard¶
Log into AsiaPay Dashboard according to the account provided by AsiaPay.
Go to Currency and Secure Hash fields and save them for later.
. Copy the values of theGo to
and enable the option
Return Value Link (Datefeed)
;
Enter your Odoo database URL followed by
/payment/asiapay/webhook
in the
Return Value Link (Datefeed)
text field. For example:
https://yourcompany.odoo.com/payment/asiapay/webhook
;
Click on
Test
to check if the webhook is working correctly.
Click on Update to finalize the configuration.
Configuration on Odoo¶
Navigate to the payment provider AsiaPay and change its state to Enabled.
In the Credentials tab, choose the Brand of your Asiapay account. Then fill in the Merchant ID and Secure Hash Secret , and the
Currency in the Configuration tab with the values you saved at the step payment_providers/asiapay/configure_dashboard ; By default, the payment provider AsiaPay is configured to verify the secret hash with the hash function
SHA1
. If a different function is set on your account , activate the developer mode and set the same value to the field Secure Hash Function in theCredentials tab.
Configure the rest of the options to your liking.
Xem thêm