With redirect integration, customers are redirected to a payment page to complete payment.
Create order > Wallet order. See also Examples > Apple Pay redirect.
If a customer uses an unsupported device to navigate to an Apple Pay payment page, they won’t be able to complete the payment. To prevent this, check whether Apple Pay is supported on the customer’s device before creating the payment page.
try {
if (window.ApplePaySession && ApplePaySession.canMakePayments()) {
console.log('Apple Pay available');
// Create an Apple Pay payment page from your server
}
} catch (error) {
console.debug('An error occurred while verifying if Apple Pay is available:', error);
}
Feedback
Propose a change on GitHub
or
send an email to [email protected]
Other languages
For an explanation in another language, contact your account manager.