capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 75 forks source link

Apple Pay is not working on web #282

Closed ottojaa closed 1 year ago

ottojaa commented 1 year ago

Platform

Describe the bug Apple pay is not available on web.

I'm slightly confused about the current state of this feature, the main github page mentions that Apple Pay is in "beta", but looking at the repo, there's clearly an implementation for web Apple Pay in web.ts that was implemented more than a year ago. Demo has "Apple pay" section, which does not seem to present the payment form, regardless of device / browser. Does it not work on any device? Has it worked at some point? At least according to stripe docs, it should work pretty much out of the box in web environment on a newer Iphone / Mac.

Our application is currently web-only, and apple pay support would be very good to have. Google pay on web works very well!

To Reproduce Go to https://capacitor-community-stripe.netlify.app/tabs/demo with Iphone, Latest Safari

Press "create" Press "present"

Nothing happens.

Expected behavior I expect to be able to use Apple Pay on Mac / Iphone.

Using Function:

rdlabo commented 1 year ago

This is same issue of https://github.com/capacitor-community/stripe/issues/282 Thanks, I will close this to integrate the issue.

sir-captainmorgan21 commented 1 year ago

@rdlabo you linked to this issue as the same issue