jasonelle-archive / jasonelle-v2

🛸 🏘️ Jasonelle issues, releases, discussions and wiki repository.
https://jasonelle.com
Mozilla Public License 2.0
421 stars 58 forks source link

Stripe Apple pay does not work #116

Open Hoang-Minh opened 3 years ago

Hoang-Minh commented 3 years ago

I've currently encountered an issue with apple pay. After hours of research I'm pretty sure that it has to do with the WKWebView that Jasonelle is implementing under the hood. I have a web application built with Angular and Asp net core. We are using Stripe library to build our custom payment request button to launch browser payment (Apple Pay, Google Pay,...).

The app is working fine in Safari and Chrome. However, when it comes to the ios app, the browser payment does not open. Has anyone run into this issue before ? and how did you handle it ? Thank you

Information about Stripe can be found in here:

clsource commented 3 years ago

Is best to use the official native stripe sdk for this. And trigger the payment flow using $agent

Wkwebview is known to have some differences and edge cases that Are better solved using native.

Hoang-Minh commented 3 years ago

Hi @clsource I am using the official javascript stripe library.