I'm trying to check the user entered cvc code. I have stored stripe customer_id and the stripe card_id. I want to verify the CVC code before charging the user.
Below are code for creating charge.
charge = Stripe::Charge.create(
:amount => 1000,
:currency => "usd",
:customer => "cus_3sAc**************",
:card => "card_18m*********************",
:description => "Testing multiple card payment",
:capture => false # default true,
:cvc => 125
)
But cvc parameter is invalid here. If I remove the cvc, it works fine. But it won't check the CVC verification. How can I check this?