nachosarmiento Posted January 9, 2014 Share Posted January 9, 2014 (edited) I am integrating a new payment method in my shop, which should send some parameters via POST to a CGI file. I have almost everything working, except the part where I send post parameters via the CGI file. One of these parameters is the number of the order. The problem is that I understand that the order number is created when you press the button "Confirm my order" in the function postprocess () the file validation.php Someone could give me an idea of how to do? Any hook or function where you need to make the shipment of these parameters via POST. In summary: By clicking the button "Place my order" in the shopping cart, the purchase sends some parameters (such as the order number (to an external file in the CGI pasarelade payment. After the whole process is done on that platform, receives a response that redirects to the confirmation page Prestashop (index.php?controller=order-confirmation, etc ....) Any ideas or suggestions of how to send this data via POST to CGI file when clicking "Put my order"? Thanks! Edited January 9, 2014 by nachosarmiento (see edit history) Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now