Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites
  • 5 months later...
  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More