What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How comprehensive is the Stripe payment validation?

    Asked by daveoreardon on September 19, 2014 at 07:50 PM

    Hi.

    I am thinking of replacing the Stripe credit card payment function my website with the Stripe payment capability built into JotForm.

    On my website, I have to check for a lot of different error codes returned by the Stripe API. Does JotForm test comprehensively for all of the various Stripe API error conditions too?

    Here are three examples of the errors I test for. I am particularly keen to get confirmation that JotForm tests for the payment declined condition.

    - API Connection Error (network problem)

    - API Error (Stripe servers down)

    - Card Error (Card details were correct but payment was declined)

    Cheers!

    Dave.

    JotForm api error check Stripe error
  • Profile Image
    JotForm Support

    Answered by jonathan on September 20, 2014 at 06:45 AM

    Hi Dave,

    I am not really very knowledgeable about the Stripe API error codes since these are mostly on the back-end code.

    Can you please tell us what specifically is the purpose why you need to identify the API error codes?

    Are you after to create your own custom error validations?

    From what I understand, you will not be able to create your own custom validations using our JotForm Stripe integration. But I am also not too sure about this, so I need more details on what is it you are after so I can include the details should I elevate this to our next level support.

    Just to let you know also, there is a test mode you can use to test the integration.

    We will wait for your updated response.

    Thanks.

  • Profile Image

    Answered by daveoreardon on September 20, 2014 at 07:15 AM

    Hi Jonathan

    I don't need to capture the error codes, I would just like peace of mind that you guys capture all error conditions and will provide an appropriate error message to my customers.

    With Stripe there is usually some superficial vaildation done first - e.g. card number valid, expiry date in the future - and then an attempt is made to actually charge the card. I would like to know what Jotform does if the charge attempt fails, e.g. because of insufficient funds. I don't believe there is a way to test this.

     

    Cheers

    Dave

     

     

  • Profile Image
    JotForm Support

    Answered by jonathan on September 20, 2014 at 08:30 AM

    Hi Dave,

    Thank you for providing us with more details and clarity.

    With Stripe there is usually some superficial vaildation done first - e.g. card number valid, expiry date in the future - and then an attempt is made to actually charge the card. 

    This is correct.

    As far as I know, our Stripe integration process will attempt first all the validations (like those you mentioned), then it will attempt to submit the form. If for some reason the submission fails, then the payments will not be charged. 

    I would like to know what Jotform does if the charge attempt fails, e.g. because of insufficient funds

    There is actually NO charge attempt failure that can occur because there is NO incomplete payments as far as the Stripe payment tool is concern.

    Failed payments (due to billing account validation issue or form issue) will immediately disregard any charges. So, no charges for failed payments/submission.

    Hope I am able to explain it correctly. Tell us if you have further inquiry.

    Thanks.

     

     

  • Profile Image

    Answered by daveoreardon on September 20, 2014 at 08:34 AM

    I'm sorry but I don't quite understand. 

    Would you be able to tell me exactly what my customer would see if they enter their credit card details and click submit but then the charge attempt fails because they are over their credit limit.  I assume that Jotform won't display my custom Thank You page, but what error messages will  they see?

     

    Thanks

    Dave.

  • Profile Image
    JotForm Support

    Answered by jonathan on September 20, 2014 at 06:37 PM

    Hi Dave,

    If the credit card was declined (can be due to several reason i.e. over the limit) -- the form will still be able to submit and the user will see the jotform custom Thank you page.

    The message that can be seen on Stripe is taken from the submitter CC's provider. Once the charged submitted by Stripe to the user's bank account is declined, Stripe automatically relays the error message.

    As I was saying, there is no chance for Stripe to charge the user's credit card if there is failure in the billing process.

    Thanks. 

     

  • Profile Image

    Answered by daveoreardon on September 20, 2014 at 06:57 PM

    Hi Jonathan

    But I don't want the customer to be taken to the Thank You page if their payment was declined. If they can't pay for the item, I don't want to say 'thank you for your payment'! Is there not a way to intercept this error in Jotform?

    Cheers

  • Profile Image
    JotForm Support

    Answered by jonathan on September 20, 2014 at 08:35 PM

    Hi,

    The jotform will be submitted as long as the billing information (in jotofrm) passes validations.

    The payment process will only occur after submission because it will happen on Stripe end. Stripe will initiate charges using the user's CC account. If Stripe encounter issue charging the CC account, it will immediately notify the CC account.

     I don't want to say 'thank you for your payment'! Is there not a way to intercept this error in Jotform?

    JotForm will not be able to intercept this error before it can submit the form. It is because the payment decline process occurs on Stripe side.

    JotForm will only validate the billing information provided(when filling the form), and if it encounters any validation issue then it will not submit the form.

    Please inform us if there is more we can assist you with.

    Thanks.

  • Profile Image

    Answered by daveoreardon on September 20, 2014 at 08:38 PM

    Ok, I understand. Thanks for clarifying this.

    Dave.

  • Profile Image
    JotForm Support

    Answered by jonathan on September 20, 2014 at 09:51 PM

    Hi Dave,

    Perhaps this discussion thread can also help on your requirement.

    Thanks.

  • Profile Image

    Answered by daveoreardon on September 21, 2014 at 01:52 AM

    Hi Jonathan

    I added my comments to the end of that thread. I think that not being able to detect/respond to a charge declined situation is a shortcoming of Jotform's Stripe integration.

    Jotform's Stripe integration would be far better if it could handle this, rather than proceeding to the thank you URL even when a payment is not made.

  • Profile Image
    JotForm Support

    Answered by jonathan on September 21, 2014 at 02:58 AM

    Hi,

    I have created a separate thread about it here http://www.jotform.com/answers/432074-How-to-have-autoresponder-email-when-Stripe-payment-was-declined#0

    We will attend to that post separately.

    Thanks.