Jump to content

cross page error messages


pberce

Recommended Posts

Prior to using Prestashop I was using osCommerce. One of the things I liked about osCommerce was the ability to send messages between pages. What I mean by this is, for example, if the customer changed their account information, when finished with updating the database I would redirect them back to their "account" page from the "account edit" page and also add a "Successful in updating information" message to a message object that would then be displayed on that page once the redirect occurred.

 

I don't see anything like this in Prestashop. What I find I have to do is to append a GET to the redirect URL and then handle this on the next page.

 

A good example of this is credit card charges. I'm implimenting my credit card charge process from my own version of authorize.net payment module. If the payment is successful I want to redirect them to the order history page and then display a "Your order was successfully charged" message. How would you recommend doing this? Is using GET the only option?

Link to comment
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...