#José Rodolpho

1 messages · Page 1 of 1 (latest)

soft coveBOT
austere aurora
#

Hello! Can you do me a favor and paste that Payment Intent ID here so that I can look it up on my end?

minor terrace
#

pi_3MkBf2DKY3qN4EUn1UMKctgO

soft coveBOT
austere aurora
minor terrace
#

the confirm payment is on the webhook, and its working with the CLI

austere aurora
#

Are you sure you're confirming the PaymentIntent server-side? Based on the request I'm seeing you're confirm the PaymentIntent client-side using the stripe.js library

minor terrace
#

yes, in the client side i just have the creation of the payment intent

austere aurora
#

There's nothing in that code that actually confirms the PaymentIntent - you're just handling the payment_intent.* events that already happen

#

and you can't create PaymentIntents client-side with stripe.js - your code is creating the Paymentintent on your server, sending it back to your client (where it gets confirmed), and then you get back the payment_intent.* webhook events on your server

minor terrace
#

yes, correct

austere aurora
#

Yeah, so as I was saying - your code that's confirming the PaymentIntent client-side is likely wrong and using the wrong return_url

minor terrace
#

ok, so let me check

#

im using the stripe card checkout for send the payment info

#

so, the stripe do the confirmation, right?

austere aurora
minor terrace
#

yes, i create the checkoutForm.js

#

ok, i found something