#kishan47

1 messages · Page 1 of 1 (latest)

amber siloBOT
mighty surge
#

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

tidal dove
#

what should be the payment method if google pay is selected

#

because on stripe there is no payment method like GOOGLE_PAY

mighty surge
#

google pay is part of card payment

tidal dove
#

okay.. so should i send cardId value for payment_method ?

mighty surge
#

Let's step back, can you share what do you want to achieve?

tidal dove
#

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

mighty surge
#

Do you want to accept Google Pay only or with other payment methods like card?

tidal dove
#

only google pay

mighty surge
#

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