Premitium Posted July 8, 2016 Share Posted July 8, 2016 (edited) Hi, to you all! I am creating a payment module with a third party payment solution called ePay. Their logic is: the client creates an order and when he is ready, he can choose to pay with a different payment method in this case ePay. Then I need to transfer the data from the order (PrestaShop cart) to a form and send it to the payment solution server and wait for a response. My question is: How do I take the info from the PrestaShop cart so that I can fill the form with it? Here is the repo: https://github.com/Premitium/epayWineo Best! Edited July 9, 2016 by Premitium (see edit history) Link to comment Share on other sites More sharing options...
Premitium Posted July 9, 2016 Author Share Posted July 9, 2016 As it turns out that is fairly easy: I just did $cart = $this->context->cart; in the controller. Thanks anyway! 1 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