2022-08-26 03:04:44 +00:00
|
|
|
=======
|
|
|
|
|
AsiaPay
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
|
|
`AsiaPay <https://www.asiapay.com/>`_ is an online payments provider established in Hong Kong and
|
|
|
|
|
covering several Asian countries and payment methods.
|
|
|
|
|
|
2022-05-03 00:44:13 +00:00
|
|
|
.. _payment_providers/asiapay/configure_dashboard:
|
2022-08-26 03:04:44 +00:00
|
|
|
|
|
|
|
|
Configuration on AsiaPay Dashboard
|
|
|
|
|
==================================
|
|
|
|
|
|
2023-01-27 04:04:10 +00:00
|
|
|
#. Log into AsiaPay Dashboard according to the account provided by AsiaPay.
|
|
|
|
|
|
|
|
|
|
- `PayDollar <https://www.paydollar.com/b2c2/eng/merchant/index.jsp>`_: For markets in HK,
|
|
|
|
|
CN, MO, TW, SG, MY, IN, VN, NZ and AU
|
|
|
|
|
- `PesoPay <https://www.pesopay.com/b2c2/eng/merchant/index.jsp>`_: For market in PH
|
|
|
|
|
- `SiamPay <https://www.siampay.com/b2c2/eng/merchant/index.jsp>`_: For market in TH
|
|
|
|
|
- `BimoPay <https://www.bimopay.com/b2c2/eng/merchant/index.jsp>`_: For market in ID
|
|
|
|
|
|
|
|
|
|
#. Go to :menuselection:`Profile --> Account Information`. Copy the values of the
|
|
|
|
|
:guilabel:`Currency` and :guilabel:`Secure Hash` fields and save them for later.
|
2022-10-05 08:29:15 +00:00
|
|
|
#. | Go to :menuselection:`Profile --> Payment Account Settings` and enable the option
|
|
|
|
|
:guilabel:`Return Value Link (Datefeed)`;
|
2022-08-26 03:04:44 +00:00
|
|
|
| Enter your Odoo database URL followed by `/payment/asiapay/webhook` in the
|
2022-10-05 08:29:15 +00:00
|
|
|
:guilabel:`Return Value Link (Datefeed)` text field. For example:
|
|
|
|
|
`https://yourcompany.odoo.com/payment/asiapay/webhook`;
|
2022-08-26 03:04:44 +00:00
|
|
|
| Click on :guilabel:`Test` to check if the webhook is working correctly.
|
|
|
|
|
#. Click on :guilabel:`Update` to finalize the configuration.
|
|
|
|
|
|
2022-05-03 00:44:13 +00:00
|
|
|
.. _payment_providers/asiapay/configure_odoo:
|
2022-08-26 03:04:44 +00:00
|
|
|
|
|
|
|
|
Configuration on Odoo
|
|
|
|
|
=====================
|
|
|
|
|
|
2022-05-03 00:44:13 +00:00
|
|
|
#. :ref:`Navigate to the payment provider AsiaPay <payment_providers/add_new>` and change its state
|
2022-08-26 03:04:44 +00:00
|
|
|
to :guilabel:`Enabled`.
|
2023-01-27 04:04:10 +00:00
|
|
|
#. | 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`;
|
2022-05-03 00:44:13 +00:00
|
|
|
| By default, the payment provider AsiaPay is configured to verify the secret hash with the hash
|
2022-08-26 03:04:44 +00:00
|
|
|
function `SHA1`. If a different function is :ref:`set on your account
|
2022-05-03 00:44:13 +00:00
|
|
|
<payment_providers/asiapay/configure_dashboard>`, activate the :ref:`developer mode
|
2022-10-05 08:29:15 +00:00
|
|
|
<developer-mode>` and set the same value to the field :guilabel:`Secure Hash Function` in the
|
|
|
|
|
:guilabel:`Credentials` tab.
|
2022-08-26 03:04:44 +00:00
|
|
|
#. Configure the rest of the options to your liking.
|
|
|
|
|
|
|
|
|
|
.. seealso::
|
2022-05-03 00:44:13 +00:00
|
|
|
- :doc:`../payment_providers`
|