documentation/content/applications/finance/payment_providers/asiapay.md
2025-02-27 18:56:07 +07:00

2.5 KiB

AsiaPay

AsiaPay is an online payments provider established in Hong Kong and covering several Asian countries and payment methods.

(payment-providers-asiapay-configure-dashboard)=

Configuration on AsiaPay Dashboard

  1. Log into AsiaPay Dashboard according to the account provided by AsiaPay.

  2. Go to {menuselection}Profile --> Account Information. Copy the values of the {guilabel}Currency and {guilabel}Secure Hash fields and save them for later.

  3. Go to

    {menuselection}Profile --> Payment Account Settings

    and enable the option

    {guilabel}Return Value Link (Datefeed)

    ;

    Enter your Odoo database URL followed by

    /payment/asiapay/webhook

    in the

    {guilabel}Return Value Link (Datefeed)

    text field. For example:

    https://yourcompany.odoo.com/payment/asiapay/webhook

    ;

    Click on

    {guilabel}Test

    to check if the webhook is working correctly.

  4. Click on {guilabel}Update to finalize the configuration.

(payment-providers-asiapay-configure-odoo)=

Configuration on Odoo

  1. {ref}Navigate to the payment provider AsiaPay <payment_providers/add_new> and change its state to {guilabel}Enabled.

  2. In the {guilabel}Credentials tab, choose the {guilabel}Brand of your Asiapay account. Then fill in the {guilabel}Merchant ID and {guilabel}Secure Hash Secret , and the

    {guilabel}Currency in the {guilabel}Configuration tab with the values you saved at the step {ref}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 {ref}set on your account <payment_providers/asiapay/configure_dashboard> , activate the {ref}developer mode <developer-mode> and set the same value to the field {guilabel}Secure Hash Function in the

    {guilabel}Credentials tab.

  3. Configure the rest of the options to your liking.

:::{seealso}

  • {doc}../payment_providers :::