#cjwilliams144-confirmCardPayment

1 messages · Page 1 of 1 (latest)

frigid schooner
#

Do you have the PaymentIntent ID I can take a look at real quick?

bronze crest
#

pi_3JwEmQGcNM6i8VJq1ZZmEYdJ

#

Thank you so much for your help

frigid schooner
#

Do you see any console or network errors when you call confirmCardPayment?

bronze crest
#

oh I didn't see the console error. Network is clean. The console is giving me this back

Uncaught (in promise) IntegrationError: Invalid value for stripe.confirmCardPayment intent secret: value should be a client secret of the form ${id}_secret_${secret}. You specified: pi_3JwEmQGcNM6i8VJq1ZZmEYdJ.```
frigid schooner
#

Ah there's the issue - you're incorrectly passing the Payment Intent ID and not the client secret

bronze crest
#

yup totally right. Thanks for catching that. I totally missed the console error. Appreciate the help!