danielevigi Posted April 30, 2014 Share Posted April 30, 2014 I'm trying to create a prestashop module that implements a gateway for a virtual POS. My module class extend PaymentModule. I saw that I can use displayPayment hook to display my payment in the list of payments. With a form with hidden inputs I can send order information to the URL of my virtual POS. The class PaymentModule has a method validateOrder. Should I call this method? And before or after confirmation of payment? I also saw that there is a class called PaymentCCCore. Can it be of help to me? Link to comment Share on other sites More sharing options...
PascalVG Posted April 30, 2014 Share Posted April 30, 2014 Easiest is probably to have a look at modules/bankwire and see which steps they take there. (to answer your direct question: validateOrder is called in bankwire/validation.php and bankwire/controllers/front/validation.php) pascal 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