- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got a notice from a customer that the "Continue Shopping" link on the PayPal cart was returning them to
our homepage and not the password challenge order form.
I tested with Firefox 112 and Chrome 112 on Linux.
Chrome would return from the PayPal cart to the order form for a fraction of a second,
then render the homepage. Firefox just returns to the order form, and stays there.
The customer was using Chrome 109 on Windows 7 and Edge 112 on Windows 10 (per user agent strings in the access logs)
I replied that I had reproduced his results, and could use the back arrow on the homepage to return to the order form
without having to log in again, and the cart session at PayPal persisted.
I'm not sure there's anything I can do. I am curious to learn how Firefox on windows behaves. I don't have any Windows PCs.
Have any others encountered this behavior?
It seems like an overzealous effort to make it appear that the browser is being abundantly cautious about security, but the login session (PHP) isn't killed on the server so why would they make it do that?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the solution from @dragon-fire
Place the below code at the end of the <head> section on your homepage.
<script type="text/javascript">
var from = document.referrer.split('/')[2];
var url = '[Your_Shopping_Page_URL]';
if (from == "www.paypal.com")
{
window.location.href = url;
}
</script>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the solution from @dragon-fire
Place the below code at the end of the <head> section on your homepage.
<script type="text/javascript">
var from = document.referrer.split('/')[2];
var url = '[Your_Shopping_Page_URL]';
if (from == "www.paypal.com")
{
window.location.href = url;
}
</script>

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Logos for Amazon Pay, Google Pay, and Apple Pay? in PayPal Payments Standard
- Unable to create Sandbox Account approved as PayPal Giving Fund charity in Sandbox Environment
- PayPal buttons not working in PayPal Payments Standard
- Redirect to thank you page all set up but not working in PayPal Payments Standard
- WebKit browsers return to homepage when "continue shopping" link is clicked in REST APIs