Users should be able to enter credit card cvc with leading zero
Problem
When user enters the details for a credit card in the Edit
form within the customers portal, if the CVC has a leading 0
, the form strips the 3-digit entry of the zero and leaves only the 2-digit entry.
When the user submits the form to save the details like this, they receive this error: Body: [{"Errors"=>[{"Code"=>"TRANSACTION_FAILED", "Message"=>"Transaction declined.invalid_cvc - Your card's security code is invalid."}], "Success"=>false}]
Proposal
We should not remove the leading zero from CVC codes.