mainingm Posted June 4, 2021 Share Posted June 4, 2021 (edited) Hello, I am using third party payment module where classic validateOrder function create a new order in the database. But date_add column in [PREFIX]_orders table contain timestamp hour less than time when order were made. There is 1 hour time shift. Is here anyone experienced with same issue? How should I fix it? The code in controller looks like this $cart = $this->context->cart; $customer = new Customer((int)$cart->id_customer); $this->module->validateOrder( (int)$cart->id, '15', (float)$cart->getOrderTotal(true, Cart::BOTH), 'Card Payment', 'Waiting for payment', array(), $this->context->currency->id, false, $customer->secure_key ); Edited June 4, 2021 by mainingm (see edit history) 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