AsiaPay

AsiaPay is an online payment service and solutions provider in Asia that provides electronic payment gateway solutions. AsiaPay offers multi-currency, multi-lingual, multi-card, and multi-channel functionality together with advanced fraud detection and management solutions.

AsiaPay supports 12 countries including Asia, including Hong Kong, China, India, Indonesia, Malaysia, Singapore, Philippines, Taiwan, Thailand, and Vietnam.

Supported Features

Type: Third-Party

One-TimeRecurringRefundsReversals
✖️✖️
3D SecureRemote Update CardRemote Delete CardAddPayMethod API
✖️✖️✖️✖️

Adding the AsiaPay Payment Gateway

To set up the AsiaPay payment gateway in WHMCS:

  1. Go to Configuration () > Apps & Integrations or Addons > Apps & Integrations.
  2. Click AsiaPay.
  3. Check Show on Order Form to display this payment method in theClient Area during checkout.
  4. Optionally, update the Display Name value.
  5. Enter your merchant ID.
  6. Enter your secure hash key (see below).
  7. Click Save Changes.

Secure Hash Key

We require using the Secure Hash Key to protect against unauthorized callbacks.

To set up a Secure Hash Key within your AsiaPay account, you must contact the PayDollar Service Department ([email protected]) to request the Secure Hash function be enabled for your merchant account. Then, you can retrieve the hash in the Merchant Administration Interface at Profile > Payment Information.

To automatically mark invoices as paid when you receive a payment via AsiaPay, enable Return Value Link in your PayDollar account:

  1. Log in to your PayDollar account.
  2. Go to Profile > Payment Account Settings.
  3. Click Enable.
  4. Enter the full URL path to the modules/gateways/callback/asiapay.php file on your installation (for example, https://www.example.com/whmcspath/modules/gateways/callback/asiapay.php, where https://www.example.com/whmcspath is your WHMCS System URL).
  5. Click Update.

Test Mode

You can use test mode to simulate payment processing without actually causing a transaction to occur. This can be useful for testing your configuration.

Troubleshooting

Parameter currCode Incorrect

Receiving this error when attempting to make a payment indicates that AsiaPay doesn’t support the client’s currency. This module supports the following currencies:

  • USD
  • HKD
  • SGD
  • CNY
  • JPY
  • TWD
  • AUD
  • EUR
  • GBP
  • CAD
  • MOP
  • PHP
  • THB
  • MYR
  • IDR
  • KRW

Last modified: November 12, 2024