I am using the paypal Sandbox mode. Commerce is in Test Mode. Paypal Payment Method is in Test Mode as well. Website Payment Preferences; in Paypal Settings; is set to Auto Return “On” (modx cloud domain)
Try disabling auto return in the paypal settings - Commerce will already provide the proper return url for each transaction and that paypal function is meant for.different use cases.
If that doesn’t help it would be worthwhile looking at how your site and context(s) are configured, especially if your site is multi context. Commerce uses the site url for the return url.
I am having the same problem. How do I figure out what/where is the problem?? The site context is the default web context…I think. I have two unused contexts but the whole store is in the web context and so far as I know I do not have any return URL configured in PayPal, I have the PP settings configured the same way as Steve.
Thank you, Tom
PP Sandbox credentials installed in the PP gateway.
P.S. I don’t get a 404, it just never redirects, it just sits on the PP credit card page and I can’t log in with a PP ID either, returning to the merchant site nullifies the PP payment…So my problem is a bit different than Steve’s, Commerce is never redirecting back to the checkout thank you page…HELPPPPPP!!!