fancy|modules Posted August 16, 2018 Share Posted August 16, 2018 Hi, I just creating payment module (mobile payments using qr code) and after customer payment provider send http POST somethink like /?requestString=QP%3A1.0*BID%3AMYBID*AM%3A6.00*. The question is how to properly recieve and validate this response. Is it posibble ucing module controller or? Thank you Link to comment Share on other sites More sharing options...
Rolige Posted August 17, 2018 Share Posted August 17, 2018 Hello, Here a complete guide about the creation of a front controller: https://devdocs.prestashop.com/1.7/modules/concepts/controllers/front-controllers/ The guide also describe how to handle a POST action (which is really easy). You should handle it in the method "postProcess()". Regards! Link to comment Share on other sites More sharing options...
fancy|modules Posted August 17, 2018 Author Share Posted August 17, 2018 6 hours ago, Rolige said: Hello, Here a complete guide about the creation of a front controller: https://devdocs.prestashop.com/1.7/modules/concepts/controllers/front-controllers/ The guide also describe how to handle a POST action (which is really easy). You should handle it in the method "postProcess()". Regards! Thank you, this is exactly what Im finding 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