Jump to content

Recommended Posts

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

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

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...