New Zenner
- Join Date:
- May 2009
- Location:
- Bogota, Colombia
- Posts:
- 28
- Plugin Contributions:
- 0
Pagosonline.net Payment module returns to wrong URL
when a customers returns from the page of our payment processor, Pagosonline.net, to checkout_succes.php, they get send to the default language. As we have both English and Spanish(default) installed, I need it to return to the language that the customer started his session in.
This is the response URL that their module uses:
$url_respuesta= HTTP_SERVER . DIR_WS_CATALOG . "index.php?main_page=checkout_success";
I tried many things and this one got me the closest:
$url_respuesta= 'www.cazadecasa.com/includes/languages/' . $_SESSION['language'] . '/unik/'. "checkout_process.php";
result is:
http://www.mundounik.com/es/includes/languages/spanish/unik/checkout_process.php
But the "es" should not be there!
Anyone know how I can make this work with different languages? Not sure if it is relevant but I am using also SSU (SEO URL´s).
Our page is: https://www.mundounik.com
Thanks!