Missing order after payement
Posted: Sun May 06, 2018 7:27 am
Good evening I have a problem at the level of the result of the payment firstly I am not a developer but I managed to migrate the module from V1.5.6 to V2.3.0.1
the payment is made successfully except that in the dashboard commands I have no new entry I tried a little I found that the script puts all the information in the database "table order" except in the order_status_id it puts 0 instead of 15 and it does not send mail to the user I saw in the others payment modules there is always a line that I do not have in my module.
here is my code in the catalog/controller/extension/payment/gpgcheckout.php
https://ufile.io/4v1uq
I would be really happy that someone will solve me problem is urgent one can my site is in production
Thanks
the payment is made successfully except that in the dashboard commands I have no new entry I tried a little I found that the script puts all the information in the database "table order" except in the order_status_id it puts 0 instead of 15 and it does not send mail to the user I saw in the others payment modules there is always a line
Code: Select all
$this->model_checkout_order->addOrderHistory($order_id, $this->config->get('paymate_order_status_id'));
here is my code in the catalog/controller/extension/payment/gpgcheckout.php
https://ufile.io/4v1uq
I would be really happy that someone will solve me problem is urgent one can my site is in production
Thanks