Kondeo / ccra-book

A searchable, admin editable, subscription-based ebook platform. Written for, and currently used by the California Court Reporters Association to display law to court reporters in the courts of California.
https://ccracodes.com
0 stars 0 forks source link

Stripe CVC Leading 0 #111

Closed julianpoy closed 8 years ago

julianpoy commented 8 years ago

Anytime a CVC contains a leading 0, such as "012", the zero is stripped because the CVC is stored as an int. The data then passed to stripe is "12", which gets returned as 402 payment required as an invalid CVC.