Title: Another Return URL
Last modified: August 24, 2016

---

# Another Return URL

 *  Resolved [LaurB](https://wordpress.org/support/users/laurb/)
 * (@laurb)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/another-return-url/)
 * Hi Scott
 * I saw the thread at [https://wordpress.org/support/topic/return-url-2?replies=3](https://wordpress.org/support/topic/return-url-2?replies=3)
   which describes a similar problem to what I am having, in that the return URL
   functionality doesn’t seem to work. Regardless of whether or not I specify a 
   custom return URL for cancelled payments, when I am returned from PayPal I receive
   a 404 error. The URL that I am taken to is [http://domain.co.uk/cancel](http://domain.co.uk/cancel)
   which is not the URL that I have specified. I have included the http:// prefix
   but this makes no difference. Any ideas where I have gone wrong?
 * Many thanks, the plugin looks great and is otherwise working perfectly for me.
 * [https://wordpress.org/plugins/wp-ecommerce-paypal/](https://wordpress.org/plugins/wp-ecommerce-paypal/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [spaterson1](https://wordpress.org/support/users/spaterson1/)
 * (@spaterson1)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/another-return-url/#post-5989941)
 * Hi LaurB,
 * Can you provide the URL on your site showing this problem.
 * If you don’t want to post it here, you can send me an email at scott (at) wpplugin.
   org
 * Thanks,
    Scott
 *  Thread Starter [LaurB](https://wordpress.org/support/users/laurb/)
 * (@laurb)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/another-return-url/#post-5990093)
 * Hi Scott
 * I’ve emailed the URL to you.
 * Many thanks
    Laurence
 *  Plugin Author [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/another-return-url/#post-5990198)
 * Hi LaurB,
 * I replied to your email yesterday, but I have not heard back yet. Did you solve
   your problem?
 * Thanks,
    Scott
 *  Thread Starter [LaurB](https://wordpress.org/support/users/laurb/)
 * (@laurb)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/another-return-url/#post-5990207)
 * Hi Scott
 * As you’ll already know from the message I sent to you, your emails were found
   in my spam folder. Sorry for that.
 * The plugin is now working. The issue seemed to be that although I had specified
   my custom URLs in the plugin settings, they weren’t being utilised. What might
   have happened is that when first setting up the plugin I had specified the URLs
   that the plugin had suggested as examples (domain/cancel), although these pages
   did not exist at this time. I then went ahead and created the actual pages (whose
   URLs were different) and then updated the settings to include the new URLs. It
   was at this point that it didn’t work. I then cleared the fields and attempted
   to create the domain/cancel URLs but was unable to do this because of my existing
   URL structure. I’d then forgotten to replace the plugin fields with the correct
   URLs before posting here. After discovering this today I reconfigured the plugin
   to use the correct URLs and it worked first time.
 * Might just be a PEBKAC problem, but I thought it worth describing exactly what
   I’d done in case it does help someone else.
 * Thanks again Scott, both for your help and the excellent plugin.
 * Laurence
 *  [franciscojsepulveda](https://wordpress.org/support/users/franciscojsepulveda/)
 * (@franciscojsepulveda)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/another-return-url/#post-5990428)
 * Hi, LaurB
 * Now I have the same problem, but I cannot understand clearly what you did in 
   order to solve tha problem,
 * I use for return URL [http://domain.com/something](http://domain.com/something)
   but it does not work.
 * Could you please help me?
 *  Thread Starter [LaurB](https://wordpress.org/support/users/laurb/)
 * (@laurb)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/another-return-url/#post-5990429)
 * Hi Francisco,
 * It’s been a while so I can’t remember all that clearly, but I think what happened
   was I didn’t have the webpages created that I wished to use before I installed
   and configured the plugin. After creating the web pages and updating the plugin
   with the URLs for the new pages the plugin didn’t seem to work. I then went back
   a day or two later and tried again and this time it was fine. So, all I had really
   done is add the required return URLS a second time which sorted everything out.
   Either I had done something silly the first time around, or some sort of caching
   had gone on which hadn’t cleared until some time had passed (although I’ve no
   idea if that is possible!).
 * Hopefully Scott will be along at some point to give you more useful advice than
   I can!
 *  Plugin Author [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/another-return-url/#post-5990430)
 * Hi Everyone,
 * Let me try and break this down:
 * 1. When you install the plugin the initial values /cancel and /return are just
   good example names of possible pages. The plugin does not automatically create
   those for you. I will try to update the wording in the plugin to make this more
   clear.
 * 2. Any URL format structure can be used [http://example.com/page](http://example.com/page)
   or [http://example.com/?page=123](http://example.com/?page=123). It does not 
   even have to be on your domain name. What is important is using http or https
   in the URL! If you simply use /cancel it will not work.
 * 3. The values are passed to PayPal each time the PayPal form is submitted. So
   if you change the values on the settings page, just refresh the page that the
   PayPal form is on, and it will load (in the code) the new return and cancel values
   so you can test it.
 * 4. If you have changed the PayPal auto returned values from the default settings
   it may cause it not to redirect properly: [https://www.paypal.com/us/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside](https://www.paypal.com/us/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside)
 * 5. If you are using the format [http://domain.com/something](http://domain.com/something),
   it should 100% work every time. If this does not work, then please comment below
   and provide 1. A link to the page on your site in question (set to sandbox mode
   using [test@test.com](https://wordpress.org/support/topic/another-return-url/test@test.com?output_format=md)
   as your PayPal email address) and 2. What page you were taken to instead of the
   correct URL.
 * I hope that helps!
 * Thanks,
    Scott
 *  [franciscojsepulveda](https://wordpress.org/support/users/franciscojsepulveda/)
 * (@franciscojsepulveda)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/another-return-url/#post-5990431)
 * I used the sandbox account in order to make a test… and it’s working.
 * May be is just a problem with the client :S
 * Thanks for all your help 🙂
 * Regards,

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Another Return URL’ is closed to new replies.

 * ![](https://ps.w.org/wp-ecommerce-paypal/assets/icon-256x256.png?rev=3095886)
 * [Easy PayPal & Stripe Buy Now Button](https://wordpress.org/plugins/wp-ecommerce-paypal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ecommerce-paypal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ecommerce-paypal/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ecommerce-paypal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ecommerce-paypal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ecommerce-paypal/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [franciscojsepulveda](https://wordpress.org/support/users/franciscojsepulveda/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/another-return-url/#post-5990431)
 * Status: resolved