Stripe Error with using source code based form

  • Profile Image
    xenotel
    Asked 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
  • Profile Image
    liyam
    Answered 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.