Scan Code like QR to pay by Apple Pay

During checkout at apple.com using a non-supported Apple Pay on the Web browser, apple.com presents a QR like code offering to "Scan Code with iPhone" to pay. The payment continues using Apple Pay on the iPhone after scan.

We already offer Apple Pay and Apple Pay on the Web. Is this QR code option available for us for non-supported browsers? Could you point me to the docs to add it? Thank you.

Yes! The ability to use Apple Pay in third party web browsers is available to anyone. In order to support this, you need to use the Apple Pay JS SDK.

If you already support Apple Pay on the Web using Safari's built in API, then all you need to do is import the JS SDK in your webpage. It should then automatically support both Safari and third party web browsers. Information on how to do so can be found here.

Note if you're using the canMakePaymentsWithActiveCard API, we recommend migrating to the new applePayCapabilities API instead, which supports the notion of third party web browsers better.

More information on this can also be found in the WWDC 2024 "What's new in Wallet and Apple Pay" session.

Scan Code like QR to pay by Apple Pay
 
 
Q