Dirty Butter Posted January 30, 2012 Share Posted January 30, 2012 I distinctly remember this being solved somewhere, but for the life of me I can't find it. There's a really simple code change someone shared to keep the single gateway from getting in a loop. In testing something else, I just made a test order but cancelled it and returned to the site rather than actually paying on PayPal. That's the only payment choice I offer. I want it to take me back to the basket, but it goes back to the page that is waiting for the PayPal page to load, so it's in effect in a loop. index.php?_a=confirm is what I want, instead of a=gateway, but I don't know which file to change. Quote Link to comment Share on other sites More sharing options...
sparky5693 Posted March 30, 2012 Share Posted March 30, 2012 Did you ever figure this one out? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted March 30, 2012 Author Share Posted March 30, 2012 Sorry, but no. Quote Link to comment Share on other sites More sharing options...
Kraken Posted March 14, 2013 Share Posted March 14, 2013 I know this is an old topic but I recently had to do this myself so I though it might help others in the future if I posted what I did. Edit the modules/gateway/PayPal/gateway.class.php file. At around line 75 you should find the following line of code: 'cancel_return' => $GLOBALS['storeURL'].'/index.php?_a=gateway', change it to this 'cancel_return' => $GLOBALS['storeURL'].'/index.php?_a=confirm', Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted March 16, 2013 Author Share Posted March 16, 2013 THANKS! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.