Stripe: Ability to check secuirty code before to submit the form.

  • gurustu_
    Asked on December 21, 2017 at 12:29 PM

    We have a form using Stripe to process payments.  Whenever an incorrect card number is entered, an error message pops up and the form is not submitted.  However if an incorrect CVC or expiration date is entered, the form submits, you're notified that the info is incorrect (attached screenshot), and the payment attempts to go through.

    Is there a way for the form to validate the CVC and expiration date before the form submits, the same way it does when an incorrect card number is entered?

    With the current setup, if users enter an incorrect CVC, they receive a pending charge, have to refresh the page, and fill out the entire for again with the correct info.  

    Jotform Thread 1329319 Screenshot
  • Kevin Support Team Lead
    Replied on December 21, 2017 at 1:24 PM

    I think the credit card number validation is performed before to submit the form since it only evaluates its digits, for example, numbers and pattern, the integration evaluates if the entered card number is not a testing one from a base of existing testing cards. 

    Now, with the security code the thing is different, the code can be validated until the payment is processed since if it's correct the payment will go through, otherwise it will throw an error, I think that's the main reason why the security code number validation cannot be performed before to submit the form (I think that basically it would be necessary to have a database with all the security codes just to compare the entered one), currently it will only validate the format (the same as credit card, pattern, length, numbers only and so on). 

    But, I will forward this thread to our second level in order to know if this can be changed, although we cannot provide an ETA, we will keep you updated via this thread. 

    Thanks.