How do I change the PayPal return link when someone cancels the transaction at PayPal?

  • Profile Image
    hatchweb
    Asked on December 15, 2010 at 04:15 PM

    I have PayPal Payments pro setup and enabled. On my form I have setup certain donation amounts as products. When I go to complete a transaction and get to the PayPal screen, it has the usual "Cancel and return to your website" link. I tested it but it takes me back to the JotForms link for the form and not the original page on my site. Is there a place to change the return link?

  • Profile Image
    aytekin
    Answered on December 16, 2010 at 08:47 AM

    No, it is not possible to change the cancel link for paypal forms.

  • Profile Image
    hatchweb
    Answered on December 16, 2010 at 09:35 AM

    That is a problem. This is such a great tool, but I'm afraid people are going to be confused if they see a jotform.com url when/if they cancel. Is there any way to disable the cancel link from showing? Thanks.

  • Profile Image
    aytekin
    Answered on December 16, 2010 at 01:33 PM

    No, it is not possible to disable the cancel link.

  • Profile Image
    WebGuy
    Answered on April 07, 2012 at 01:12 PM

    Actually, there is a way to change the cancel URL in paypal. In your form that submits to paypal, there is a field called cancel_return and it looks like this:

    <input type="hidden" value="http://yourwebsite.com/whereverYouWantThisToGo.html" name="cancel_return">


    Just change the value of that tag in your page to be the URL of your choice. Unless of course the JotForm doesn't allow that.

  • Profile Image
    revadigital
    Answered on July 24, 2012 at 12:05 PM

    WebGuy, I am having this same issue and I do not see cancel_return in the form. Is it still possible to change this value? I agree with hatchweb, it's really critical that the user return to my website and not a jotform page.

  • Profile Image
    Mike_T
    Answered on July 24, 2012 at 05:01 PM

    As far as I know, this is still not possible.

    Anyway, thank you very much for supporting this. We will consider implementing this option in the future.

    Please note that our Developers are extremely busy, and we can not follow up on each feature request straight away.

    Thank you for using our services.

  • Profile Image
    Max Emberson 
    Answered on August 26, 2015 at 04:29 AM

    The post by webguy is correct. You just insert a field into the form - as this is an optional field you only place if needing to reroute for these business cases. I've tested and this works. 

    Very useful if you have multiple web sites using the single payment gateway. 

    <input type="hidden" value="http://yourwebsite.com/whereverYouWantThisToGo.html" name="cancel_return">