Jump to content

ModuleFrontController Cookie

Recommended Posts

Hi all,

I'm creating a module for Prestashop to manage products and carts from an app and all the requests to manage them are made with REST requests. I'm quite blocked because I'm not sure how to proceed with the checkout process. I guess that it could be easy to make a ModuleFrontController to show a page to select the delivery and payment methods, but I don't know how can i pass the information needed to identify the cart and the customer with security. 

Could anyone help me to know how can I generate a cookie like the web page uses to pass the information to this controller?

Or, Is there any guide about can I send this kind of fields to a Front controller without creating security risks ?

Thank you!

Share this post

Link to post
Share on other sites

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