#kaushalsaddal
1 messages · Page 1 of 1 (latest)
Hi, how can we help?
Need one help
payment confirmation time we getting one error
error sharing
client.js:152 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_3MWaV4CQUkZYV1OM1jgWN4qA_secret_iEBO39aJFdxhpHaHcIT0rnVp4".
can you confirm why we getting this
That's weird error. But I see you are using confirmCardPayment which is a legacy integration. Let's switch over to Payment Element with confirmPayment as our latest recommended integration: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements