Drop-in Element
Refer to the Drop-in Element integration guide for step-by-step instructions on how to embed multiple payment methods on your checkout page.
Apple Pay is supported via Drop-in integration. Ensure that your merchant account is enabled for Apple Pay and you have added your domain information on the Airwallex web app > Payments > Settings page. For more information, see Enable Apple Pay. Once registered, you can pass applePayRequestOptions
JS in createElement()
to offer Apple Pay. Note that countryCode
is mandatory.
Subscription payments
Airwallex allows you to create a PaymentConsent with the shopper to initiate future payments using shopper’s saved payments details. For more information, see Save payment details for future payments. You need to add additional information about the order & terms of the payment to display this information on the payment sheet.
- See below example to understand how to setup recurring with Apple Pay without payment
- See below example to understand how to setup recurring with Apple Pay with payment
- See example below for variable amount / variable subscription use-case with payment
- See example below for variable amount / variable subscription use-case without payment