#kishan47
1 messages · Page 1 of 1 (latest)
requires_payment_method means that it requires payment method details to be collected from the customer
It can be google pay, card, or other payment methods depending on payment intent is created
what should be the payment method if google pay is selected
because on stripe there is no payment method like GOOGLE_PAY
google pay is part of card payment
okay.. so should i send cardId value for payment_method ?
Let's step back, can you share what do you want to achieve?
so, basically from frontend i got request for create intent for google pay. so when i call create intent api to my server it return status 'require-payment-method' status. so what should be the next step that my backend should follow
Do you want to accept Google Pay only or with other payment methods like card?
only google pay
Stripe doesn't have an integration just for Google Pay only. The closest will be using Payment Request Button that supports both Apple Pay and Google Pay only. Apple Pay on iOS and Google Pay on Android and Chrome.
You may refer to the integration guide for Payment Request Button here: https://stripe.com/docs/stripe-js/elements/payment-request-button