I don't know where can I set this up. there is no auto return to my website after finished payment in paypal website, at the end, it only stay in paypal website. there is no even a link which I can click back to my site.

Can anyone tell me where can I set this up for auto return. Thank you.

Comments

freelylw created an issue. See original summary.

freelylw’s picture

StatusFileSize
new30.73 KB

Please 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

scotwith1t’s picture

It'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.

scotwith1t’s picture

Issue summary: View changes
StatusFileSize
new149.98 KB
scotwith1t’s picture

Issue summary: View changes
scotwith1t’s picture

https://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?

freelylw’s picture

I 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

mglaman’s picture

Status: Active » Closed (works as designed)

Works as the documentation states. It's up to the buyer to click a button and return to the merchant website.