@@ -32,10 +32,10 @@ public function __construct()
3232 {
3333 $ this ->name = 'altapay ' ;
3434 $ this ->tab = 'payments_gateways ' ;
35- $ this ->version = '4.0.0 ' ;
35+ $ this ->version = '4.0.1 ' ;
3636 $ this ->author = 'AltaPay A/S ' ;
3737 $ this ->is_eu_compatible = 1 ;
38- $ this ->ps_versions_compliancy = ['min ' => '1.6.0.1 ' , 'max ' => '8.2.1 ' ];
38+ $ this ->ps_versions_compliancy = ['min ' => '1.6.0.1 ' , 'max ' => '8.2.3 ' ];
3939 $ this ->currencies = true ;
4040 $ this ->currencies_mode = 'checkbox ' ;
4141 $ this ->bootstrap = true ;
@@ -2398,6 +2398,9 @@ public function hookAdminOrder($params)
23982398 PrestaShopLogger::addLog ("Could not sync payment info for Order ID: {$ params ['id_order ' ]}" , 3 , null , $ this ->name , $ this ->id , true );
23992399
24002400 return false ;
2401+ } else {
2402+ $ orderDetail ->date_upd = date ('Y-m-d H:i:s ' );
2403+ $ orderDetail ->update ();
24012404 }
24022405 }
24032406
@@ -3842,6 +3845,9 @@ public function syncOrderDataFromGateway($results, $orderDetail, $params)
38423845 PrestaShopLogger::addLog ("Could not sync payment info for Order ID: {$ params ['id_order ' ]}" , 3 , null , $ this ->name , $ this ->id , true );
38433846
38443847 return false ;
3848+ } else {
3849+ $ orderDetail ->date_upd = date ('Y-m-d H:i:s ' );
3850+ $ orderDetail ->update ();
38453851 }
38463852 } catch (Exception $ e ) {
38473853 PrestaShopLogger::addLog ('Payment API Error: ' . $ e ->getMessage (), 3 , null , $ this ->name , $ this ->id , true );
0 commit comments