[-] Core: Hook actionPaymentConfirmation should also be called for PS_OS_WS_PAYMENT order statuse
This commit is contained in:
@@ -93,7 +93,7 @@ class OrderHistoryCore extends ObjectModel
|
||||
|
||||
|
||||
// executes hook
|
||||
if ($new_os->id == Configuration::get('PS_OS_PAYMENT'))
|
||||
if (in_array($new_os->id, array(Configuration::get('PS_OS_PAYMENT'), Configuration::get('PS_OS_WS_PAYMENT'))))
|
||||
Hook::exec('actionPaymentConfirmation', array('id_order' => (int)$order->id));
|
||||
|
||||
// executes hook
|
||||
|
||||
Reference in New Issue
Block a user