can i put a paypal button for the submit form for payment?

  • Profile Image
    jbunnylive72
    Asked on July 20, 2011 at 09:38 AM
  • Profile Image
    NeilVicente
    Answered on July 20, 2011 at 11:00 AM

    Hi,

    Yes, this is absolutely possible. In my solution below, the submit button acts as the pay button itself, because after submitting, the user gets redirected to the corresponding Paypal transaction page where he must complete the payment for the subscription or product ordered.

    You can replace the submit button with any image you like, including a "Pay with Paypal" button.

    To replace your submit button with an image:

    1.  Click on the submit button
    2.  Click the 'Button Image' option in the toolbar


    3.  In the textbox that appear (such as in the image above), enter the url for the image that you want to use in place of the submit button.

    Note: You may use Paypal's button generator to generate an image for use with your form. Save that image in your web server then use the url in your form to display it as a button.

    4.  Click OK then save your form

     

    Take a look at this example form I made, which comes with a neat looking 'Checkout with Paypal' button

    Let me know if you have other questions or concerns. Thanks!


    Neil

  • Profile Image
    LUAFoundation
    Answered on September 06, 2013 at 03:24 AM

    I have tried this and I just end up with a bit of script that looks like this - "alt="submit"/>  . The link works fine mind you, just the logo doesn't show up.

    If I just put it is as free html as was suggested by one of your support people, it doesn't act as a link.

    What do I do?

  • Profile Image
    ashwin_d
    Answered on September 06, 2013 at 03:58 AM

    Hello LUAFoundation,

    Upon checking your form, I found that you are using the complete <img> tag with the image source which is not required. You should just use the image url of paypal button.

    Instead of this code:

    <img src="https://www.paypal.com/en_AU/AU/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;">

    Just use this:

    https://www.paypal.com/en_AU/AU/i/btn/btn_xpressCheckout.gif

    I have already fixed this in your form.

    Thank you!

  • Profile Image
    LUAFoundation
    Answered on September 06, 2013 at 08:59 PM

    You, Sir, are an absolute gem!! Thanks ever so much.

  • Profile Image
    khrisell
    Answered on September 06, 2013 at 09:14 PM

    Hello  LUAFoundation,

    In behalf of my Colleagues, you are most welcome!

    We are glad to be any help with your JotForm needs.

    Feel free to contact us anytime if you have further questions or inquiry.

    If it is a different topic, we recommend that you open a new thread to better track the issue, assist you better and avoid any confusion.

    Thank you for using JotForm.