#day_dr33m
1 messages · Page 1 of 1 (latest)
You'll need to do a server side call. These are the available params for confirmPayment on the client side: https://stripe.com/docs/js/payment_intents/confirm_payment
You should already have it via your payment intent client secret
But when you pass client secret to your client you also could just pass 2 items if you like: payment intent id and payment intent client secret
But payment intent id is the first part of the client secret
So I could parse that out from the secret
Also, there's no worries from a security side with doing it like this, correct?
assuming now
not
Nope
Client secret is meant to be shared client side
That's its point
But I also have no idea if there's plans to change the formatting of client secret
So honestly I would just pass both id and secret to the client
To be safe
No problem
oh 1 more thing
Sure