Stripe – Apple Pay on the Web
Use Apple Pay on website.
Stripe is a payment gateway that’s really easy to use. If you are not familiar with it, think of it as Paypal. It takes care of your payment.
Client Request.
I’ve implement this gateway to client months ago but something came up recently. The API cannot detect if user can use Apple Pay correctly, on Mac to be specific, mobile phone works fine.
Normal payment flow.
When you are in payment page, if your Mac is macOS Sierra or higher + have an iPhone (not an iPad; Safari doesn’t support them yet) with a card in its Wallet paired to your Mac with Handoff, you should be able to see and click the Apple Pay button.

In my case, the client can successfully pay on the testing page (Stripe Apple Pay Testing), but cannot pay on live site.
Through checking.
I setup everything according to Stripe. It works fine both in Stripe testing and live site.
Original thoughts.
API out of date / API was not loading correctly / API bug / My code bug / Handoff not working properly
After the through check, I determined that “API out of date” / “My code bug” / “API bug” can be eliminated.
It means maybe at the time of testing, the Handoff might not worked properly or the API was not loaded properly.
Final action.
Since there’s not enough info to know what causes the bug, I’ve asked the client to test again.

