Configure card payments and express checkout
Enable credit card payments, Apple Pay, and Google Pay on your PrestaShop store.
To accept credit and debit card payments and enable express checkout with Apple Pay and Google Pay on your PrestaShop store, configure the card payment settings in the Airwallex module.
Before you begin
- You have configured your API credentials and webhooks.
- The card schemes you want to accept are activated in your Airwallex account. Log in to the Airwallex web app and go to Payments > Payment methods to verify.
Enable card payments
-
In the PrestaShop Back Office, go to Modules > Airwallex > Configure.
-
Navigate to App Settings > Cards.
-
Configure the following settings:
Setting Values Default Enable Card Payments On / Off Off Transaction Type Authorize and capture / Authorize only Authorize and capture Display Name String (max 200 characters) "Credit card" Card Schemes Visa, Mastercard, Amex, JCB, Discover, UnionPay All available Card Element Type Single element / Split elements Single element -
Click Save.
Card schemes are fetched dynamically from the Airwallex API based on your account's activated payment methods. Select only the card schemes that are activated in your Airwallex account.
Card element types
- Single element (default) — One unified input field that collects card number, expiry date, and CVC together.
- Split elements — Separate fields for card number, expiry date, and CVC, which allows more control over checkout layout.
Transaction types
- Authorize and capture (default) — Payments are captured automatically when the order is placed.
- Authorize only — Payments are authorized at order placement and must be captured manually from the order detail page in the Back Office via the Airwallex payment management tab.
Enable Apple Pay
HTTPS required
Apple Pay requires an SSL certificate and does not work on HTTP or localhost.
-
In the card settings, toggle Apple Pay to On.
-
Configure the button appearance:
Setting Values Default Button Theme Dark / Light Dark Button Call to Action Only icon / Buy / Donate / Book Only icon Display Locations Product page, Cart page Both -
Click Save.
Apple Pay domain verification
When Apple Pay is enabled, the module automatically:
-
Copies the
apple-developer-merchantid-domain-associationfile to<prestashop_root>/.well-known/. -
Registers your store's domain with Airwallex via the Apple Pay Domain API.
If automatic domain verification fails, manually place the domain association file at:
1https://your-store.com/.well-known/apple-developer-merchantid-domain-association
You can download this file from your Airwallex web app under Settings > Apple Pay > Add Domain.
Enable Google Pay
-
In the card settings, toggle Google Pay to On.
-
Configure the button appearance using the same Button Theme, Button Call to Action, and Display Locations settings as Apple Pay.
-
Click Save.
Google Pay requires the googlepay payment method to be activated in your Airwallex account. No additional domain verification is needed.
Next steps
Now that you have configured card payments and express checkout, enable local payment methods for your shoppers: