#yookoala
1 messages · Page 1 of 1 (latest)
Hi there, you can use both. Checkout is easier to integrate and I'd recommend using Checkout.
You mean using Union Pay card with Apple Pay or Google Pay?
Or using Apple Pay/Google Pay in general?
No. Just Apple Pay and Google Pay in general. How do I integrate them to my payment with Stripe?
Checkout supports Apple Pay/Google Pay out of the box.
Does Element support that without change of programming?
Checkout and Elements are two different products
If you are using Elements (e.g., PaymentElement) to provide Apple Pay, you'll need to register an Apple Pay domain (details here https://stripe.com/docs/stripe-js/elements/payment-request-button)
So besides the normal Stripe Element (for credit cards), I need to add Payment Request Button on the page for Apple Pay and Google Pay, correct?
No, both PaymentElement and Payment Request Button support Apple Pay/Google Pay, it's just that the Apple Pay domain registration explained in the Payment Request Button doc
Understood. So if I only use Google Pay, I don't need to do anything? How do I test using Google Pay with the Payment Element I previously setup? Do I need to change my code?
https://stripe.com/docs/stripe-js/elements/payment-request-button?client=react#react-testing
Chrome
Chrome 61 or newer
An activated Google Pay card
Chrome Mobile for Android
Chrome 61 or newer
An activated Google Pay card
You meed to serve your page through HTTPS and fulfil above requirements
I've just tried. So the integration means I can access and select the credit card I've setup in Google Pay. Otherwise it's just ordinary credit card payment. Correct?
Yes. The Google Pay option will be displayed in PaymentElement if above requirements are met/
Thanks.
Is Apple Pay integration displayed to users similarly? That is the user still get the ordinary credit card information input, but they get option to fill the field with credit card information stored in Apple Pay.
Yes you are right