#maaaaaaaaaaah_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1217881840149463121
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
As far as I can see Checkout does not currently support re collecting CVCs. I can put in a feature request but at the moment that does not seem to exist. Though that may be becase Checkout Sessions can only re-use cards under very specific circumstances. I think it is only for subscriptions where the customer already has a default payment method set. Does that apply to your situation?
I am sorry, perhaps I used the wrong terminology.
Behind the scenes, we have customers and through its resources we add customer cards
What I want to do is to be able to 'revalidate' the CVC.
For example, assume that a customer was previously registered on the platform and that we had its credit card saved, after logging back in they scroll through our platform, picks a few itens and then proceeds to checkout. What I want to do is to 'revalidate' the CVC and if successful proceed to generate the stripe charge
Thank you for the help @sweet siren
And you are using our hosted Checkout pages to collect this card info? Or is this your own custom page?
I am currently using my own custom page, everything is proper generated / validated through the Stripe API, I would only want to check the CVC. For example, 'hey stripe, is the cvc 131 valid for the card_1E39898129...?'
We don't have an API like that as far as I am aware. There is or was a flow where you could collect the CVC again and have it sent to the bank along with the rest of the payment info but I am having trouble finding it again.
I see
Do you have any API or documentation with any alike tool?
My goal is to somehow 'validate' if the person placing an Order is the account owner themself
Still looking for this, will get back with what I can find
We don't have a full doc for this but it looks like it is fairly straightforward to implement.
Basically on your client you can make this call to make a CVC update token.
https://docs.stripe.com/js/tokens/create_token?type=cvc_update
Then when confirming the intent with your existing saved payment method, you can pass the cvc update token to your confirm call
https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-cvc_token
Oh or it looks like you can use the payment method's ID and our cardCvc element to do this confirm client side. https://docs.stripe.com/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-data-payment_method_options-card-cvc
Does that make sense to you? Apologies that our docs are in a rough state for this at the moment