salem82 Posted March 20, 2020 Share Posted March 20, 2020 Hello We are trying to build a payment module that give the possibillity to pay by a local gateway. The module work as follow: 1- the customer select the module payment option and press the order button. 2- Prestashop website initialise a payment and set the success url and the error URL using CURL. 3-Prestashop website redirect the customer (Tools::redirect ) to the pyment gateway website. 4- After paying, the gateway redirect the customer to Prestashop (success URL or error URL.) Everything work perfect, except that when the gateway redirect the customer to Prestashop, the user appears to be logged out and must re login. Is there any restriction in using Tools::redirect to another website? thanks Link to comment Share on other sites More sharing options...
salem82 Posted March 22, 2020 Author Share Posted March 22, 2020 Any help please? Link to comment Share on other sites More sharing options...
01generator Posted August 28, 2020 Share Posted August 28, 2020 I am facing the same issue with multiple external redirection payment methods, if you find/found anything please respond here, I will too! Link to comment Share on other sites More sharing options...
Gh0sTLL Posted January 22, 2021 Share Posted January 22, 2021 Same issue. Can someone help? Link to comment Share on other sites More sharing options...
NicklasBach Posted December 8, 2021 Share Posted December 8, 2021 Hello, (sorry for the English grammar). I have had this excact issue for quite some time, which also resulted in me digging down in the payment module (QuickPay/PensoPay) itself (came from third party) and besides that when i made a work-around the data was not trackable in google analytics. After many many hours looking in basically every prestashop file dealing with payments and order-confirmations and no answers on google besides topics like this with others dealing with the same problem, i was wondering if it could have something to do with the cookies! AND YES IT DOES! 😝 (Sorry for the Danish backoffice... I went to advanced parameters->Administration->SameSite cookies and changed it from Strict to "none" which resolved the issue right away! Let me know if this works for some of you as well! 2 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