Before you start
You need:- An Airwallex account with card payments turned on. Airwallex reviews your business before live payments are allowed, so start that early.
- For testing, a sandbox account at sandbox.airwallex.com. It has its own keys and never moves money.
Step 1: add the Airwallex merchant
- Go to Merchants → Add Merchant and choose Airwallex.
- In the Airwallex web app, open Developer → API keys. Copy the Client ID and the API key into the merchant form. If the page shows no API key yet, generate one there; Airwallex shows it only once.
- Sandbox and live keys have their own fields. The Mode toggle decides which pair is used.
- Save.
Step 2: connect the webhook
Airwallex does not let apps create webhooks for you, so this step is done by hand once per merchant. Without it, payments still work, but refunds and chargebacks you handle inside Airwallex will not show up in your ElasticFunnels reports.- Open the saved Airwallex merchant. Copy the Webhook URL shown under the credential fields.
- In the Airwallex web app, go to Developer → Webhooks → Add webhook. Paste the URL.
- Select the events refund.accepted and payment_dispute.requires_response.
- Save the webhook in Airwallex, then copy its secret into the Webhook secret field of the merchant (or Sandbox webhook secret for a sandbox webhook) and save the merchant again.
What the buyer sees
- The buyer fills in the checkout and types their card into the card field.
- When they click the button, Airwallex checks the card with the bank. If the bank asks for 3D Secure, the bank’s screen opens on top of your checkout.
- The payment is captured for the order total and the buyer continues to the next step of the funnel, the same as with any other card merchant.
One-click upsells and subscriptions
The first card payment saves a payment consent at Airwallex. ElasticFunnels uses it for:
These later charges are made while the buyer is not on the page. If the bank asks for 3D Secure on one of them, Airwallex cannot show it, so the charge is declined and the renewal goes to the normal retry schedule.
Refunds and chargebacks
- Refund from ElasticFunnels: open the order and refund it, in full or in part. The refund is sent to Airwallex and recorded on the order.
- Refund made in Airwallex: arrives through the webhook from Step 2 and is added to the order.
- Chargebacks: when Airwallex opens a dispute that needs your response, the webhook records it on the order, so your reports show it. You answer the dispute in Airwallex.
Testing with the Airwallex sandbox
- Copy the sandbox Client ID and API key into the sandbox fields, and set Mode to Sandbox.
- Open your checkout and pay with an Airwallex test card, for example
4035 5010 0000 0008with any future expiry date and any CVC. - Check the payment in the sandbox web app under Payments.
Limits
- Apple Pay and Google Pay are not offered through Airwallex on the checkout yet. Use Apple Pay and Google Pay on a merchant that supports them.
- The buyer is always charged in the checkout’s currency. Airwallex settles it to your account according to your Airwallex settings.