#Haresh-google_pay

1 messages · Page 1 of 1 (latest)

jovial fox
#

Hi @topaz beacon! Could you clarify what you want to do?
The common way to integrate with Stripe with PaymentIntent is to:

  1. Create a payment intent on the backend and pass the client secret from the backend to the front end
  2. Then on the front end: collect payment details and validate the payment intent
topaz beacon
#

I create payment method id in front end and i pass that method id to backend. Backend will provide client secret how can i pass the client secret in stripe SDK? @jovial fox

#

How to get payment intent id ?

jovial fox
#

Are you aware of this documentation page? It covers exactly what you need: https://stripe.com/docs/payments/accept-a-payment-synchronously

  1. Create the PaymentMethod on the frontend
  2. Send a request to your backend with the PaymentMethod ID
  3. Then you create the Payment Intent in your backend, and the Stripe response should contain a client_secret field. You need to return that information to your frontend.
topaz beacon
#

Ok i will check above document i am try to use google pay

#

Hi @jovial fox I need google pay process document ?