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

    Stripe Error with using source code based form

    Asked by xenotel on November 10, 2012 at 11:28 PM

     

     

    I have been reading the other posts and it seems that this is a common error. I have been able to use the IFRAME versio of the form with success however I really wanted to modify the form code with some custom javascript so I am leaning towards using the source based verison. When I do however, have not be successful with STRIPE card payments and I have trapped a 500 Internal Server Error response coming back from your servers.

          Do you have any recommendations on a work around.  Is this a browser specific issue. I use Chrome and I have not tested with other browsers yet.

     

    Error I got it listed below:

    Request URL:
    https://submit.jotform.us/submit/23146070439147/
    Request Method:
    POST
    Status Code:
    500 Internal Server Error
    Request Headersview source
    Accept:
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Charset:
    ISO-8859-1,utf-8;q=0.7,*;q=0.3
    Accept-Encoding:
    gzip,deflate,sdch
    Accept-Language:
    en-US,en;q=0.8
    Cache-Control:
    max-age=0
    Connection:
    keep-alive
    Content-Length:
    835
    Content-Type:
    application/x-www-form-urlencoded
    Cookie:
    __cfduid=db12533d2a9177dbb2856d3b0948a3b4b1352582881
    Host:
    submit.jotform.us
    Page URL:
    http://www.xenotel.net/register.php

  • Profile Image
    JotForm Support

    Answered by liyam on November 11, 2012 at 01:32 AM

    Hello xenotel.  To do a fix, please find this code:

    <script src="//jotform.us/js/stripe.js?v=3.1.844" type="text/javascript"></script>

    Next, move the code right after the closing </form> tag, so it will look like this:

    <input type="hidden"...>
    </form>
    <script src="//jotform.us/js/stripe.js?v=3.1.844" type="text/javascript"></script>

    Please keep us posted with the progress of your issue.

    Thanks.