Log inGet started
Airwallex logo
Online Payments
Transactional FX
Open Banking
Developer Tools
API Reference
Online Payments
Starting with paymentsTransaction and settlement modelPricing model
Integration options
Integration OverviewPayment LinksPayment Links APIHosted Payment PageEmbedded ElementsDrop-in ElementMobile SDKNative APIPlugins
Install the Magento pluginConfigure payment methods

Configure payment methods

Set up the payment methods you want you offer, and customize how they are shown to your shoppers during checkout.

  1. Log in to your Magento admin panel.
  2. In the left navigation bar, go to Stores > Configuration. In the menu, go to Sales > Payment Methods.
  3. Click Configure in Airwallex section of Recommended solutions. on your Magent site. Click Airwallex API Setting within the Plugin you need to configure.
  4. Enter your Client ID, API Key and Webhook Secret Key obtained from your Airwallex account (please see where and how to obtain the credentials in the next section).
  5. Choose the Mode > Demo if you wish to test before going live. If unselected, you will begin accepting payments with Airwallex immediately. Enter all details again for Demo mode. The new details will not remove the previously entered detail for Prod mode.
  6. Select the Yes checkbox, if you wish to save logs for debugging purposes, and Save Config to proceed.

Magento Basic Settings

Credit Card setup

Magento card configuration

  1. Enter a Title (required) and Description (optional) seen by the shopper during checkout.
  2. The Title is shown at the payment method option on the Checkout Page and also within the Order showing how the shopper paid (e.g. “Credit Card” as shown in the screenshot below)
  3. Select a Payment Action of an order when the payment associated with the order is to be captured.
  4. Save Config to complete the configuration.

Setup and configuration may vary for different payment methods. For example, steps mentioned above are partially applicable to Credit Card NOT Wechat Pay and other payment methods.

Access API Key and Webhooks

In order to utilize Airwallex APIs API within the Plugin and let us take care of payment from your shoppers easily, you will need to get Airwallex’s API credentials as well as Webhook Secret Key from your Airwallex account.

Webhooks are used by Airwallex to communicate with your site. It provides information such as the status of the payment, and updates the order based on events associated with the payment.

To obtain the required credentials and assuming you have created your Airwallex account, please follow the steps below:

  1. Go to the Account > Developer section on your Airwallex web app.
  1. You can see and copy the required API credentials from the Developer Keys section “Client API key” API key
  2. Below the Developer keys section, you can see and copy the required Webhook Secret Key from the Webhook section. This will later be copied into the required fields within the Airwallex plugin. To access the Webhook Secret Key, you will first need to click the reveal button and then enter your Airwallex account password to be able to copy and paste. Webhook key Webhook key reveal

Manage transactions

In your Airwallex account on the web app, you will be able to see the performance of received payments at both holistic and granular transaction levels. For each order placed on your Magento website, you will be able to see the record of the associated payment and take certain actions when applicable.

If you are not familiar with the Airwallex web app, see User Guide link to take advantage of your account and manage your funds efficiently.

On this page
  • Access API Key and Webhooks
  • Manage transactions