How Can I redirect my submit button to my payment gateway if I have the html code

  • Profile Image
    Asked on May 03, 2012 at 08:13 AM
  • Profile Image
    Answered on May 03, 2012 at 08:21 AM

    You will have to download the full source code of the form and change the action url to your own payment gateway url.

    To download the full source codes for your form:

    1.  Go to Setup & Embed
    2.  Click the Embed Form button
    3.  Choose Source
    4.  Click the link that says "here"

    In the downloaded source you can find the action url as displayed below:

    <form class="jotform-form" action="" method="post" name="form_11111111111111" id="11111111111111" accept-charset="utf-8">

    Hope this information helps.

  • Profile Image
    Answered on May 15, 2012 at 05:05 AM

    Hi this does help, I have copied and pasted the source code for my payment gateway in. The only problem is that my form does not save a copy anywhere are you able to do this for me if I give you the code for the payment gateway?


    I look forward to hearing from you.

  • Profile Image
    Answered on May 15, 2012 at 02:27 PM


    Unfortunately, since you want to host the full source code, , you need to follow my colleague's directions.

    Here I leave you a guide (with screenshots) about how to download the source code of a form.

    Once you have it, look for the action = url 

    <form class="jotform-form" action="" method="post" name="form_21295229069862" id="21295229069862" accept-charset="utf-8" novalidate="true"> <input type="hidden" name="formID" value="21295229069862">


    Feel free to look for more assistance if you need it



  • Profile Image
    Answered on May 16, 2012 at 05:23 AM

    Hi Jeanette


    Thanks for this, I have found all of that without too many problems. The problem is when I remove the action url and insert the source code for my payment gateway it changes the style of the form and small details like items that are required does not work anymore.

    This is all a little bit above my head, so any help would be appreciated.

    PS something else I thought to add, I cant just change the action url because then my clients wont come through to my payment page if you know what I mean. they would be directed to a general page of the payment provider.


    I hope this makes sense and look forward to hearing from you

  • Profile Image
    Answered on May 16, 2012 at 07:05 AM



    I'm afraid what you are trying to achieved isn't possible. Changing form's action URL would stop you from receiving email notifications when someone fills and submits your form.

    As far as I've understand, you want to integrate your payment gateway with JotForm. I'm sorry as this is not yet supported with JotForm. It's not as easy as embedding your payment gateway html code, it requires huge code in order to achieved that.

    May we know your payment gateway so we can address it to our development team, I'll submit it as a feature request. We'll then see if they can add it to their TO DO list.


  • Profile Image
    Answered on May 16, 2012 at 03:49 PM


     Like my colleague Idarktech has stated,this is not easy to achieve with out a deep programming developement involved on it. 

    Hope the developers team might find a workaround for your request