[+] Dispatcher
This commit is contained in:
@@ -8,4 +8,5 @@
|
||||
<tab>payments_gateways</tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
||||
@@ -39,7 +39,7 @@ $smarty->assign(array(
|
||||
'id_module' => $id_module,
|
||||
'id_cart' => $id_cart,
|
||||
'key' => $key,
|
||||
'ogone_link' => (method_exists($link, 'getPageLink') ? $link->getPageLink('my-account.php') : _PS_BASE_URL_.'my-account.php')
|
||||
'ogone_link' => (method_exists($link, 'getPageLink') ? $link->getPageLink('my-account') : _PS_BASE_URL_.'my-account')
|
||||
));
|
||||
echo $ogone->display(__FILE__, 'waiting.tpl');
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ class Ogone extends PaymentModule
|
||||
else
|
||||
$smarty->assign('status', 'failed');
|
||||
$link = new Link();
|
||||
$smarty->assign('ogone_link', (method_exists($link, 'getPageLink') ? $link->getPageLink('contact-form.php', true) : Tools::getHttpHost(true).'contact-form.php'));
|
||||
$smarty->assign('ogone_link', (method_exists($link, 'getPageLink') ? $link->getPageLink('contact-form', true) : Tools::getHttpHost(true).'contact-form'));
|
||||
return $this->display(__FILE__, 'hookorderconfirmation.tpl');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user