AXL Knowledge Base

ECPay Settings

~3 min read Section: Settings

Use ECPay to accept payments in Taiwan through AXL. This guide explains how to obtain your Merchant ID, HashKey and HashIV, then add the payment gateway to your account.

Create an ECPay Account

To get started, create an ECPay account. Go to the official ECPay website and click "Register".

Follow the on-screen instructions to finish registration.

Sign in to the ECPay merchant dashboard. Open System Settings (系統設定) → System Integration Settings (系統介接設定) → Integration Information (介接資訊). Copy MerchantID, HashKey, and HashIV for the payment service you are connecting, and enter all three in the matching AXL fields.

Keep the two encryption keys private. For tests, use the matching merchant ID and keys from ECPay's Embedded Checkout 2.0 test information. Before accepting real payments, replace the whole test set with your merchant's production values and complete the provider's required service activation. Do not mix keys from another ECPay service or environment.

Connect ECPay to AXL

Next, connect ECPay to AXL. To let your customers pay for your products and services, you need to add the payment gateway to your account.

In AXL, go to Settings → Payment Gateways and click "Add Payment Gateway". If you haven't added a gateway yet, the page shows the list of gateways right away.

If ECPay is not visible in the provider list, click More to reveal the additional gateways.

Add Payment Gateway chooser with provider cards, including Stripe, PayPal, Square, Mercado Pago and BitPay, plus More.
After Add Payment Gateway, click More to find ECPay. Then select its provider card.

Click "More" if you don't see ECPay, then select "ECPay". In the panel that opens, fill in the fields:

  1. Title: Enter a name for this payment gateway.
  2. Description: Add a description of this payment method. Customers will see it on your website.

  3. Payment Button Text: Enter the text for the payment button on your website.

  4. Show on Website: Select this checkbox to make this payment method available on your website.

  5. Currency: Select the currency you plan to accept payments in. If you sell in several markets, you can set a different currency for each payment gateway. For example, you can sell courses in US dollars through one gateway and accept a different currency through another. Choose one of the currencies supported by this gateway; the form shows the available options.

  6. Merchant ID: Enter the MerchantID you copied from the ECPay website.

  7. HashKey: Enter the HashKey you copied from the ECPay website.

  8. HashIV: Enter the HashIV you copied from the ECPay website.

  9. Test Mode: Select this checkbox with ECPay's matching payment test MerchantID, HashKey, and HashIV. For live payments, enter the corresponding production values and clear Test Mode. This setting selects the test or production checkout environment.

ECPay New Payment Gateway with a Northstar Academy title and Merchant ID, HashKey, HashIV and Test Mode, empty credentials and Cancel/Create.
Unsaved ECPay setup example with credential fields left empty. Enter the credentials described above, review the settings, then click Create.

When you've filled in the form, click "Create". ECPay now appears in your list of payment gateways.