#guizhong_10139

1 messages · Page 1 of 1 (latest)

languid badgerBOT
latent mauve
#

hello! what element are you using? Payment Element? Checkout Express Element?

#

and can you share your code snippet?

flat plover
flat plover
latent mauve
#

i don't think you're handling the flow in the right way, can you refer to our sample here : https://stripe.com/docs/payments/quickstart. We typically handle the errors upon confirmPayment or confirmSetup

Learn how to embed a custom Stripe payment form in your website or application. Build a checkout form with Elements to complete a payment using various payment methods.

flat plover
# latent mauve i don't think you're handling the flow in the right way, can you refer to our sa...

Our process is to create a stripe payment method first, then verify whether the information required for payment is filled in before submitting, then place an order through our system interface, and then execute confirmPayment() after the order is placed successfully, because the payment amount before the order is generated may be There will be changes, so it is not correct when Google pay, is there a way to update the price of Google pay

latent mauve
#

are you using a SetupIntent to create the PaymentMethod first or are you using the deferred flow?

#

which guide are you following for your implementation, can you point me to it?

flat plover