We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 385af15 commit cb450b4Copy full SHA for cb450b4
1 file changed
ps_googleanalytics.php
@@ -284,7 +284,7 @@ public function wrapOrder($id_order)
284
*/
285
public function hookdisplayOrderConfirmation($params)
286
{
287
- $order = $params['objOrder'];
+ $order = $params['order'];
288
if (Validate::isLoadedObject($order) && $order->getCurrentState() != (int)Configuration::get('PS_OS_ERROR'))
289
290
$ga_order_sent = Db::getInstance()->getValue('SELECT id_order FROM `'._DB_PREFIX_.'ganalytics` WHERE id_order = '.(int)$order->id);
0 commit comments