notify url does not seem to work even if the payment status is success, orders are not creating in the back office. I'll share snippet from validationcontroller,payment-return.tpl. Pls help!
I've defined notifyurl like this:
$notifyurl = $this->context->link->getModuleLink($this->name,'validation', array(), true);
$this->context->smarty->assign([
'Merchant_User_Id' => $Merchant_User_Id,
'merchantpwd' => $merchantpwd,
'Purchase_summary' => $Purchase_summary,
'currencydesc' => $currencydesc,
'merchant_ref_number' => $merchant_ref_number,
'customer_ipaddress' => $customer_ipaddress,
'amount' => $amount,
etc etc.........
]);
return $this->context->smarty->fetch('module:latpayredirect/views/templates/front/payment_options.tpl'); }
then hookPaymentReturn function continues.... (check image for code)