#mohit_docs

1 messages ¡ Page 1 of 1 (latest)

warped wraithBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1467760139682447486

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

remote gale
#

Hi! Sorry are you facing an issue wih Apple Pay on a non-safari browser?

pale robin
#

yes

#

it does not render on a non safari browser although support for 3rd party browsers is mentioned on the official Apple site

dusk tapir
#

How are you integrating Apple Pay with Stripe currently? Are you using Checkout Session, Express Checkout Element or Payment Element?

pale robin
#

we're using the payment element

#

<PaymentElement
options={{
wallets: {
googlePay: 'auto',
applePay: 'auto',
},
}}
onLoaderStart={() => setShowPayForm(true)}
/>

dusk tapir
#

This is expected. Payment Element will only show Apple Pay when:

wallets: They will show when the Payment Intent has the card payment method and the customer is using a supported platform and have an active card in their account.

In non-Safari browser, Payment Element doesn't show Apple Pay button since Payment Element priortise the conversion and will show the wallet option that is optimised for checkout.

If you wish to show Apple Pay on non-Safari browser, this can only be done using Express Checkout Element: https://docs.stripe.com/elements/express-checkout-element and set ⁨⁨paymentMethods.applePay: 'always'⁊⁊ [0], where the customer can click Apple Pay button and scan the QR on their iPhone to complete the Apple Pay payments.

[0] https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-paymentMethods-applePay

The Express Checkout Element is an integration for accepting payments through one-click payment method buttons. Supported payment methods include Link, Apple Pay, Google Pay, PayPal, Klarna, and Amazon Pay.

pale robin
#

great, i'll look into it

dusk tapir
#

No problem! Happy to help 😄