-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusion on doc about Apple Pay & Google Pay using Checkout #72
Comments
Hey there! Sorry for any confusion. When using Stripe Checkout, there's no special code required to implement Apple Pay or Google Pay. Instead creating and redirecting to a Checkout Session with at least the card payment method type should suffice. The payment request button is only for custom forms. It can be a little tricky to test These mobile wallets, so be sure to review the docs about testing to ensure you have cards configured in the browsers wallets and you're testing with the most recent browser versions. |
@cjavilla-stripe Thank you so much for your quick response. Maybe I need to do some configuration and it will automatically be invoked? Thanks again! |
@cjavilla-stripe Closing since I understand it now. Thanks for the explanation! |
Awesome. Thanks for following up :) |
Thanks to the pre-built example which is really nice! But I have a confusion about the Apply Pay & Google Pay document for Stripe Checkout (the pre-built Stripe hosted page).
On the doc https://stripe.com/docs/apple-pay?platform=web#accept it says
You can start accepting Apple Pay payments on the Web using Checkout or Elements. No additional configuration is required to use Apple Pay in Checkout.
It directs me to the example code to thePayment Request Button
if usingElement
.But I don't see any example code that uses pre-built Checkout with Apple pay or Google Pay. I am confused about how to implement Apple Pay and Google Pay just with pre-built Checkout?
I tried with https://checkout.stripe.dev/preview to explore the Checkout, and on the 3rd step there is a button with Apply Pay, but nothing is there and still no clue how to implement it.
I found there is an issue stripe-samples/accept-a-payment#1 stating
Unfortunately, all of the payment request demos have so many restrictions around https and having cards setup in chrome / google pay settings that it'll be hard for anyone to test locally.
Is this the reason why there is no sample code for apply pay?Thanks! Any help is really appreciated!
The text was updated successfully, but these errors were encountered: