Airwallex logo

Install the WooCommerce plugin

Install, connect, and configure the Airwallex Online Payments plugin for your WooCommerce store.

Copy for LLMView as Markdown

To accept payments with Airwallex on your WooCommerce store, install and activate the Airwallex Online Payments plugin, then connect it to your Airwallex account.

Before you begin

  • You have a WooCommerce store running WordPress 4.5 or higher and WooCommerce 3.0 or higher.
  • You have PHP 7.3 or higher installed on your server.
  • You have administrator access to the WordPress Admin.
  • You have an Airwallex account with your desired payment methods activated under Payments > Payment Methods in the Airwallex WebApp.
  • You have your Airwallex API credentials (Client ID, API key, and Webhook Secret Key) for your target environment. To find your credentials, log in to the Airwallex WebApp and go to Settings > Developer > API keys. We recommend using a scoped API key with "Edit" and "View" permissions under Payment Acceptance.

Activate payment methods first

Ensure your preferred payment methods are activated in your Airwallex account before installing and configuring the plugin. The plugin validates that payment methods are activated before they can be enabled.

Install the plugin

You can install the plugin from the WooCommerce Marketplace or from the WordPress plugin directory.

Install from the WooCommerce Marketplace

  1. Go to the Airwallex Online Payments plugin page and click Add to store.

  2. After completing the checkout process, click Add to site.

  3. Enter your website URL.

  4. Authorize the connection.

Install from the WordPress plugin directory

  1. In the WordPress Admin, go to Plugins > Add New.

  2. Search for Airwallex.

  3. Click Install Now and then Activate.

Connect your Airwallex account

After installing and activating the plugin, connect it to your Airwallex account. There are two connection methods: OAuth log-in (recommended) or manual API key entry.

Connect via Airwallex log-in

  1. In the WordPress Admin, go to WooCommerce > Settings > Payments > Airwallex.

  2. On the API Settings tab, click Connect Account. Airwallex Woo Connection

  3. Log in using your Airwallex credentials.

  4. After a successful connection, the plugin displays a green "Connected" status next to the Airwallex logo.

  5. Click Save changes.

Connection issues

The connection may fail if your store URL does not match the URL provided during account registration. In this case, connect using your API keys instead.

Configure API settings

The API Settings tab includes additional configuration options:

SettingDescription
Enable sandboxToggle to use sandbox (demo) credentials for testing. When enabled, use your Airwallex Demo account Client ID and API key.
Temporary order status after declineThe order status set when a payment is declined and the shopper is redirected to retry. Options: Pending payment, Failed.
Order state for pending paymentsOrder status for asynchronous payment methods (for example, local payment methods with delayed confirmation).
Order state for authorized paymentsOrder status for payments that are authorized but not yet captured.
Scheduled job intervalHow often the plugin checks for unresolved payments. Default: every hour.
Activate remote loggingSend diagnostic data to Airwallex to help troubleshoot issues.
Payment form templateChoose between Default or WordPress page shortcodes for theme compatibility.
Statement descriptorText displayed on the shopper's bank statement. Use %order% as a placeholder for the order ID. Maximum 28 characters.

Enable sandbox mode for testing

To test your integration before going live, complete these steps:

  1. On the API Settings tab, check Enable sandbox.

  2. Connect your Airwallex Sandbox account using one of the connection methods above. To create a sandbox account, go to demo.airwallex.com/signup . For more information, see the sandbox environment overview.

  3. Click Save changes.

  4. Place test orders using Airwallex test card numbers.

  5. When you are ready to go live, uncheck Enable sandbox and connect your production Airwallex account. Remember to click Save changes.

Next steps

Now that you have installed and connected the plugin, enable and configure the payment methods you want to offer:

Was this page helpful?