#khushbu
1 messages · Page 1 of 1 (latest)
Why are you using the Charges API directly and why are you handling PAN data directly?
I've already added a card, and when we use the charge method, we pass those cardid and cvc no also.
You shouldn't be using those APIs though, they're deprecated. Instead, following the new guides for payments: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
You can use Elements which facilitates collecting all card data including the CVV
no am already added card bt during payment i just want to check user enter cvv and already added card cvv no is correct or not
There's no way to check a CVV is valid without either processing a payment or saving the card
So you just need to submit the payment, and we send the entered CVV to the card networks and they determine whether to deem accept or decline the value
If you wanted to, you can configure Radar to block any payments where the CVV failed verification checks: https://stripe.com/docs/disputes/prevention/verification#cvc-check