#Carlos - Payment Error

1 messages · Page 1 of 1 (latest)

mental island
#

Hi Carlos. Can you share more about the error?

pallid verge
#

Uncaught (in promise) IntegrationError: Invalid value for stripe.confirmCardPayment intent secret: value should be a PaymentIntent client secret. You specified: a SetupIntent client secret.

mental island
#

Also a request id would help

#

Ah so yeah to confirm a payment you need the secret from the payment intent

#

You're passing in a secret from a setup intent which is different

pallid verge
#

This is a trial model subscription, it has no payment intention.

#

Which element should I use in this case then?

mental island
#

confirmCardPayment is for confirming a payment

pallid verge
#

Can confirmCardSetup be used with a passing a payment intent clientSecret?