Closed (works as designed)
Project:
Commerce PayPal
Version:
7.x-2.x-dev
Component:
PayPal WPS
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2015 at 23:10 UTC
Updated:
15 Oct 2018 at 22:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
freelylw commentedPlease see attached image of screen-cut, I was stop at this page. I have to click the email address to return to anther page in paypal which will auto-redirect me back to my website.
Can anyone tell me where can I adjust this to make it auto-redirect me back to my site without the click on the email address ?
Thank you very much
Comment #3
scotwith1tIt's a setting in PayPal. Basically, go to Profile > My Selling tools (left side menu), look for website preferences and click Update on the right of that. Set Auto Return to On and set the URL.

The auto-return works, but it still seems that the redirect URL entered here doesn't work; I always get sent back to checkout/[order_id]/complete. I think this is either just not working or isn't designed to do so. I'm sure the payment module can/should have access to the URL set in the PayPal account's settings, but don't see any evidence that it's being used in the code. I started to implement a "fix" that basically added the redirect URL to the payment settings form, but that's so redundant it seemed silly. Thought maybe if I disabled the Checkout Complete checkout pane that it might go to the redirect URL, but alas. It just goes to the checkout complete url with no content. :( Anyway, I'd love to know if this is 1) intended to work and just isn't, 2) not intended to work and won't be added in the future or 3) wasn't in the original code plan but can/will be added in the future. I'm happy to try and write up a patch with a little guidance on how to get the URL from the paypal side so we don't have to have a second place to set it internally.
Comment #4
scotwith1tComment #5
scotwith1tComment #6
scotwith1thttps://www.drupal.org/node/1902660#4 gives a pretty clear answer. Alas. But I still think it would be nice if we could specify a return URL field to use instead of the checkout/[order_#]/complete page. If I created a patch for that, what would the likelihood of it being included in a future release be?
Comment #7
freelylw commentedI have set the " auto return" on. but it still the same. I am give up using the WPS now because of this until it get fixed. the express checkout is ok for me at the moment. Thanks
Comment #8
mglamanWorks as the documentation states. It's up to the buyer to click a button and return to the merchant website.