Search...
APIJSLog inGet started in sandbox
Airwallex logo
Home
Platform APIs
Connected Accounts
Accounts
Payments
Transactional FX
Payouts
Issuing
Back to home
OverviewChoose your payments solutionGet started with payments
Supported currencies
Online payments
Online payments overviewPayment Method Onboarding RequirementGet started with online paymentsHosted Payment Page
Guest user checkoutRegistered user checkoutRedirect from iOS Apps
Drop-in Element
Embedded Elements
Mobile SDK
Plugins
Native API
Automatic Currency Conversion
Invoice integrations
Tax filing

Redirect from iOS Apps

Due to a recent US court ruling , iOS app developers in the US are now able to bypass Apple’s in-app payment acceptance, and instead redirect users to an external payment page. Doing so can help to reduce payment acceptance costs when selling in-app digital goods.

You can redirect in-app users to the Airwallex Hosted Payment Page to collect payments outside the app, and then seamlessly redirect them back to the app once payment is completed. A video of the experience can be viewed here .

The recommended approach is to create an invisible WKWebview in your app, where you can load the JS SDK JS. When the user clicks to pay within the app, you can call the redirectToCheckout() JS function from the JS SDK to send the user to an external browser to make payment on the Hosted Payment Page.

For sample code, please refer to nativeHPPButtonTapped() in IntegrationDemoListViewController .

Was this page helpful?