Merchant Features
Discover the benefits, enablement steps, and
resources to get started.
Apple Pay in Third‑Party Browsers
Fast, secure checkout,
wherever consumers browse
Drive higher conversion rates and capture additional transactions by offering Apple Pay across more web browsers. Deliver the trusted, seamless checkout experience iPhone and iPad users know and love, empowering them to pay easily and securely on your website across Mac, PC, and tablets — no matter which browser they prefer.1
Consumer experience
Fraud protection
Apple Pay is built with security and privacy at its core — helping to provide another layer of protection against fraud to businesses and cardholders.
- Authentication required: Every transaction requires Face ID, Touch ID, or passcode. Only the consumer can authorize a payment with their cards on Apple Pay.
- Data protected: With Apple Pay, debit and credit card numbers are tokenized. This helps reduce the risk of fraudulent transactions and chargebacks.
- Purchases stay private: Apple Pay helps keep consumers’ data private. When a consumer uses Apple Pay, Apple doesn’t keep transaction information that can be tied back to cardholders.
Learn more about Apple’s Fraud Protection for Merchants.
Get started.
Enable Apple Pay in third‑party browsers
- Partner with us.
- Review the requirements.
- Existing Apple Pay on the web integration using either Apple Pay JS API or Payment Request API.
- For testing purposes, iPhone running iOS 18 or later or iPad running iPadOS 18 or later.
- Choose an integration path. You can either:
- Integrate with a service provider (if your existing Apple Pay integration is through an e‑commerce platform or payment service provider), or
- Integrate directly with Apple by adding the Apple Pay JS SDK to an existing Apple Pay integration.
- Test.
- Once integrated, test your implementation across a range of popular third‑party browsers using Apple Pay Sandbox or in a production environment.
- Follow testing best practices
- Launch.
- Optimize.
Explore the resources
Documentation
What’s new in Wallet and Apple Pay (WWDC24 session video)
Apple Pay on the Web documentation
Loading the latest version of the Apple Pay JS SDK
Consumer Support
Frequently asked questions
Apple Pay in third‑party browsers gives merchants the ability to offer Apple Pay as a payment method across non‑Safari browsers on Mac and on devices outside of the Apple ecosystem.
Yes, Apple Pay in third‑party browsers is available where Apple Pay is live with the exception of mainland China.
This feature can be enabled as part of a new or existing Apple Pay implementation. As with other Apple Pay features, Apple does not charge implementation fees for its enablement.
Support is available for all computer or tablet devices capable of running a supported browser. Refer to Devices compatible with Apple Pay for a list of devices compatible with Apple Pay.
Enabling Apple Pay in third‑party browsers is easy:
- Merchants can simply add the Apple Pay JS SDK to their existing Apple Pay integration to extend support to more browsers and devices.
- Merchants can also check with their e‑commerce platform or payment service provider, as they may offer this capability through their implementation.
Once a consumer has scanned the dynamic code, the website overlay window will display a message prompting the consumer to complete the payment on their iPhone or iPad.
The scannable code is a unique circular format, similar to App Clip Codes. The data embedded is specific to the Apple Pay session and requires an iPhone running iOS 18 or later or iPad running iPadOS 18 or later to successfully scan the code.
These codes can be scanned on any eligible iPhone running iOS 18 or later or iPad running iPadOS 18 or later.
For security purposes, the codes in the overlay will change every few seconds. An active code is only valid for a single successful scan. Once successfully scanned, the code is invalidated and no further codes are displayed on the overlay for that payment session.
The experience is identical to that of a consumer initiating a payment directly on their iPhone. A consumer will still be able to successfully scan the code and will be presented with a payment sheet prompting them to select a payment method. They can then follow this prompt to complete an in‑line setup flow and proceed with payment.
The experience is identical to that of a consumer initiating a payment directly on their iPhone. A consumer will still be able to successfully scan the code and will be presented with a payment sheet prompting them to try a different payment method. They can then follow this prompt to complete an in‑line setup flow and proceed with payment.
Closing the browser, tab, or Apple Pay overlay before the payment is completed will cause the payment session to be cancelled and the payment sheet on the linked iPhone will also close.
Integrations via Apple Pay JS API will work on the vast majority of browsers that support WebSockets. For integrations via Payment Request API the browser must also have support for the W3C Payment Request API. Merchants who want to ensure maximum browser coverage may wish to consider using the Apple Pay JS API.
In iOS 16 and iPadOS 16 Apple Pay was enabled in WKWebView, enabling non‑Safari browsers on iOS and iPadOS to support Apple Pay directly on device.
Starting with iOS 18 and iPadOS 18, support for Apple Pay in third‑party browsers was extended to include Mac and other computers using an iPhone or iPad to complete the purchase. Refer to Enable Apple Pay in third‑party browsers for more details.
Apple Pay transactions initiated in third‑party browsers and Safari offer the same capabilities (including pay in full, pay with installments, and rewards). The only difference is that once the consumer scans the Apple Pay code in a third‑party browser, the payment session is passed to the consumer’s iPhone or iPad to complete the purchase.
When a consumer initiates Apple Pay via Safari on their Mac, the payment sheet is typically displayed directly on the computer, where they then authenticate on device using Touch ID or passcode. Alternatively, they may complete payment using handoff from their Mac to a nearby iPhone or Apple Watch.
For non‑Safari browsers on Mac or on non‑Apple devices, a scannable code will be displayed to the consumer when they click the Apple Pay button. This code needs to be scanned by an eligible iPhone or iPad to complete payment. Once scanned, the payment sheet is presented on the scanning device (iPhone, iPad) where the consumer can review their payment. Once authenticated on their iPhone or iPad, the payment can be completed on the initiating device.
No. The modal window containing the Apple Pay code is an HTML overlay rendered within the same browser window of the initiating website. Depending on the merchant’s implementation, a new window may also be used to present the Apple Pay code. In each case, the Apple Pay code would not be affected by pop‑up blockers or ad blockers, as the window gets generated from a consumer action and not programmatically generated by JavaScript code without consumer intent.
Yes, visit Apple Pay on the Web Demo using a third‑party browser on a Mac or a PC. Click the Apple Pay button, then use an iPhone running iOS 18 or later or iPad running iPadOS 18 or later to scan the Apple Pay code.
Yes, canMakePaymentsWithActiveCard() works on Safari, even after adding third‑party browser support. Switching to the applePayCapabilities() API is encouraged, however, as canMakePaymentsWithActiveCard() has been deprecated.
Merchants process Apple Pay payments initiated from a third‑party browser in the same way as those initiated from Safari. Although payload generation and payment authentication occurs on the consumer’s iPhone or iPad, the payment experience gets routed back to the merchant’s website automatically like a standard Apple Pay transaction today.
Yes. All payment sheet interaction events get handled the same way for Apple Pay transactions in both Safari and third‑party browsers. For existing integrations, any logic for responding to billing contact changes, shipping method or contact changes, or payment card changes will still be triggered without additional effort from the merchant.
Yes. Refer to testing best practices
Join the Apple Pay platform.
Testing
Extensive cross‑browser testing is recommended before fully deploying Apple Pay live — to offer consumers a great experience regardless of browsers used.
- For testing purposes, use iPhone running iOS 18 or later or iPad running iPadOS 18 or later.
- Test third‑party browser transactions on a Mac or PC before launch.
- Render buttons using techniques supported by all browsers.
- Review Checking for Apple Pay availability for guidance on how to use the Apple Pay Eligibility APIs to display buttons.
- Use the Apple Pay JS SDK to generate Apple Pay buttons to ensure cross‑browser compatibility.
- If generating custom buttons or presenting Apple Pay in a list, ensure these options show up across all the browsers you intend to support.
- Check eligibility logic on all browsers.
- Ensure the button appears when and where expected on multiple browsers, not just Safari.
- Use the
canMakePaymentsorapplePayCapabilitiesAPI for the most accurate view of the payment credential status when placing the Apple Pay button upstream (in PDP or cart).
- Ensure Apple Pay functionality on various browsers, including:
- Event data sent from the Apple Pay APIs to your website is received and handled when a consumer performs various actions (such as changing an address).
- The payment sheet updates correctly based on how your site responds to each event (for example, updating the shipping costs relating to the newly selected address).
- Custom error handling and validation logic works across all browsers.
Add or update the SDK
- The apple-pay-sdk.js library needs to be present in all pages where Apple Pay in third‑party browsers is offered.
- If you already use the SDK for presenting Apple Pay buttons, you need to update to version 1.2.0 or later, or the auto‑updating SDK using 1.latest in the SDK URL.
- Refer to Loading the latest version of the Apple Pay JS SDK for more details.
Continue to maximize your Apple Pay integration
- Monitor key metrics, including:
- Payment sheet presentation success rate
- Authorization completion rate
- Error rates by type
- Payment success rate
- Follow Apple Pay partner news and updates for the latest:
- Announcements
- Features
- Success stories
- Tech notes
More resources
Apple Pay Demo
in an interactive playground.
Apple Developer
build apps for Apple platforms.
Apple Business
presence across Apple apps.
-
1. Available on compatible browsers. This feature is not available in all markets. Software requirements apply.
-
In the US, Apple Pay is a service provided by Apple Payments Services LLC, a subsidiary of Apple Inc. Neither Apple Inc. nor Apple Payments Services LLC is a bank. Any card used in Apple Pay is offered by the card issuer.
-
Apple Pay is not available in all markets. View Apple Pay countries and regions.
-
Features are subject to change. Some features, applications, and services may not be available in all regions or all languages and may require specific hardware and software.