#dickatchums-applepay-reactnative-checkout-webview

1 messages · Page 1 of 1 (latest)

rain basalt
#

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

light whale
rain basalt
#

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

light whale
#

we'd really rather not. is that the only guidance you can give?

rain basalt
#

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

light whale
#

got it, that makes sense. We'll probably take a look at building our own checkout UI in the mean time

rain basalt
#

I'm asking my team but will take a while to get an answer (webview + Apple Pay compat is really tricky)

near birch
#

Also did you try the Checkout URL that you created in normal Safari?

light whale
#

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?

near birch
#

Stripe Tax would disable Apple Pay so that may be the cause of the issue here

light whale
#

is there any workaround for that? or is that an Apple restriction

near birch
#

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

near birch
#

Unfortunately it does not look like there is a workaround to enable Apple and Google pay for Checkout+Tax

rain basalt
#

@light whale are you unblocked?

light whale
#

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

rain basalt
#

correct for now if you use Stripe Tax you can't use the wallets at all unfortunately