#dickatchums-applepay-reactnative-checkout-webview
1 messages · Page 1 of 1 (latest)
My understanding is that Apple Pay is often not compatible with a webview (but it depends on which webview you use)
We strongly recommend redirecting outside of your app straight to the browser instead
i've been able to trigger Apple Pay from within the same webview using the demo: https://applepaydemo.apple.com/
yeah but it can be finicky on various things, we strongly recommend not using a webview at all for Checkout. You need to redirect to the browser
we'd really rather not. is that the only guidance you can give?
Let me check if someone has an alternative, but I do think you're making a mistake using webviews. We don't support those and don't test them and there are frequent incompatibilities that could lead to breaking your app
got it, that makes sense. We'll probably take a look at building our own checkout UI in the mean time
I'm asking my team but will take a while to get an answer (webview + Apple Pay compat is really tricky)
It is possible that the Webview is set up properly and you are running in to a Checkout configuration that does not support Apple Pay. Can you try this page with the same webview you had that Apple's demo worked in? https://stripe.com/docs/stripe-js/elements/payment-request-button
Also did you try the Checkout URL that you created in normal Safari?
yeah, I think the issue might be that we're using Stripe Tax?
I haven't had a chance to test that but I saw a small note in the docs that enabling Stripe Tax disables Apple Pay
what other things would disable Apple Pay?
Stripe Tax would disable Apple Pay so that may be the cause of the issue here
is there any workaround for that? or is that an Apple restriction
Not immediately sure what else. I can look in to it. Can you try Checkout without Stripe Tax and see if it works just to isolate it?
Checking in to that. I don't think so off the top of my head but will get back to you
Unfortunately it does not look like there is a workaround to enable Apple and Google pay for Checkout+Tax
@light whale are you unblocked?
we haven't gotten around to testing disabling Stripe Tax yet, but it does seem like that's the problem. Unfortunately we need Stripe Tax, so even sending users out to the browser we still wouldn't be able to use Apple Pay. For now, we're just going to accept that we can't use Apple Pay
thanks for your help @rain basalt and @near birch
correct for now if you use Stripe Tax you can't use the wallets at all unfortunately