nooiz007 Posted October 26, 2015 Share Posted October 26, 2015 I have a payment module that use a external webpage for a secure payment, and after the payment the costumer is redirect back to the store. The problem is that I have lots of stores like www.mydomina.com/stores/storeA , www.mydomina.com/stores/storeB, etc. But I can only set one page for the payment to be redirected, so I goes to the main store www.mydomain.com/stores/ The redirect.php page code that is redirected is like this: <?php include_once(dirname(__FILE__).'/../../config/config.inc.php'); $useSSL = true; include_once(dirname(__FILE__).'/../../init.php'); $url = Tools::getShopDomain(true,true).__PS_BASE_URI__.'index.phpfc=module&module=cielointegradoloja5&controller=ok'; ?> <script>location.href='<?php echo $url;?>';</script> I am wondering if there is anyway to make it to redirect to the store that the payment came from.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now