RaulRohjans Posted June 29, 2021 Share Posted June 29, 2021 (edited) Hello, I am working on a payment module. On the checkout page, the user has a form with two text boxes and when the info is submitted, the user is redirected to a verification page where the stuff gets verified and payment gets process. If everything goes well then he is redirected to the oder confirmed page, otherwise i redirects back to the checkout page and shows an error message. I am trying to display the message with: $this->context->controller->errors[] ='The api key is invalid!!'; This works perfectly on the module configuration page, but it does not show anything here. Any ideas? Thank you in advance. EDIT: I ended up implementing my own error message system with some java script custom alerts. Edited July 2, 2021 by RaulRohjans solved (see edit history) 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