0

To address a known issue with PayPal, I found a solution of adding this to the index.php

if (strpos($_SERVER["REQUEST_URI"], '/paypal/standard/cancel') !==  false) {
header("Location: http://<your customer gets redirected here>");
die(); 
}

But as I have 2 site running in my Magento install, so I just want it to return the home page of the site the customer was on, it return the base url. How do I do that?

Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.