Hi, everyone
I am from Malaysia and sorry for my poor english.
My question is, could I direct call a validateOrder function from classes/paymentModule?
Because I'm using local Payment Gateway, It is facing an issue frequently is some customer puchase items, the payment gateway has data but admin site of Prestashop do not have.
The solution provided from local payment gateway is called PSQ (MERCHANT REQUEST APIs), which is let me request data from them and then Insert into Prestashop system.
Anybody has idea?
One of the data get from payment gateway is ReturnUrl, ReturnURL is let me process the data.
So, how do I direct call validateOrder function inside ReturnURL to let me insert to Order table instead of I manually Key In data in admin?
Thanks!!!