#Gary4091 - CVC Recollection
1 messages ยท Page 1 of 1 (latest)
ok
Have you tried specifying the token inside payment_method_options.card.cvc_token?
When calling stripe.confirmCardPayment?
No, let me take a look. Thank you. I will get back
Like this:
stripe.confirmCardPayment(clientSecret, {
payment_method_options: {
card: {
cvc_token: cvcToken,
...
Wow, interesting, checking now
I don't know for certain if that will work, but I think it will? ๐
when we do this we get the following error message from Stripe.JS: "Received unknown parameter: payment_method_options[card][cvc_token]"
Seems it does not work ๐
Ah, dang. I guess it really isn't supported then. Let me check on something...
It looks like we only support the cvctok_ when confirming server-side. For client-side confirmation you need to use the CVC Element and reference it when calling stripe.confirmCardPayment.
So there is no way to implement a logic, when we re-collect CVC one one page, and confirm card payment on the next page? (This is our current checkout setup and we are trying to integrate stripe in this setup)
?
I don't believe there is, no. You would either need to move the CVC Element to the same page where you call stripe.confirmCardPayment (recommended) or confirm the payment server-side (not recommended).
My guess is we implemented it this way because CVC tokens are quite short lived, so we didn't want people entering a CVC on one page, then waiting long enough for the CVC to expire, then confirming the payment.