jasonelle-v2 icon indicating copy to clipboard operation
jasonelle-v2 copied to clipboard

Stripe Apple pay does not work

Open Hoang-Minh opened this issue 4 years ago • 2 comments

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:

  • https://stripe.com/docs/stripe-js/elements/payment-request-button
  • https://stripe.com/docs/js/payment_request

Hoang-Minh avatar Oct 15 '21 23:10 Hoang-Minh

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.

clsource avatar Oct 16 '21 11:10 clsource

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

Hoang-Minh avatar Oct 19 '21 17:10 Hoang-Minh