currently my website configure with stripe CC also I need to setup stripe with apple pay & google pay i don't know how to configure the payment button integration.
1 Answers
There are a couple of approaches to integrating Apple Pay and Google Pay via Stripe:
- The Payment Request Button, or
- Directly with Apple Pay and Google Pay
The first option is generally going to be an easier integration, however, the reason you might choose the second option (for Google Pay) is, cross browser support, Google Pay button branding, and localization support.
If choosing the Payment Request Button, then the prerequisites section should have the information required.
- Apple Pay: the most notable task is verifying your domain
- Google Pay: should work out of the box via the Payment Request Button
If looking at direct integration with their respective buttons/APIs, refer to their resources:
- Apple Pay:
- Google Pay:
Note that Stripe's Checkout API will automatically include support for Apple Pay.
I found the following article helpful to understand the differences between Payment Request API (which is what the Payment Request Button is based on) and Google Pay: https://medium.com/dev-channel/web-payments-payment-request-api-and-google-pay-a1073e405235