#bxorcloud
1 messages · Page 1 of 1 (latest)
Hello
Google Pay just falls under the card payment method type
Where do you see this error exactly? Do you have a request ID?
I see this when my backend(rails) request using google_pay in paymentIntent.
Yeah you shouldn't be doing that
There is nothing you signify in the PaymentIntent about Google Pay
It is just a card type payment method. So as long as card is one of the payment_method_types and your frontend supports Google Pay then the button will show up
I see.. so how should I implement google pay or what should be the flow? the official documentation is quite confusing.. Maybe because I was expecting paymentIntent.
Well you do use a PaymentIntent. Let's back up
Are you scoping an integration or do you already have an integration running?
We use paymentIntent in backend and used it with affirm, afteray and cashapp.
If already running, which integration flow are you using?
Okay so you just use your own button on the frontend and call something like confirmAfterpayClearpayPayment()?
Yes we do our own button.. and setup webhook for confirm.
Okay gotcha. In that case you want to look into Express Checkout Element. The integration guide is here: https://stripe.com/docs/elements/express-checkout-element/accept-a-payment
Thanks! I will try this.