Jump to content

Edit History

pg_dev

pg_dev

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)
snippet2.png.94cd333cd9b9da24793256233aab0104.png

snippet3.png

snippet4.png

pg_dev

pg_dev

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. 

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)snippet2.png.94cd333cd9b9da24793256233aab0104.png

snippet3.png

snippet4.png

×
×
  • Create New...