Re: Mettre le captcha dans oledrion | Titre du sujet : Re: Mettre le captcha dans oledrion par Ghia sur 19/09/2009 14:25:56
Apres
case 'gateway': // Validation finale avant envoi sur la passerelle de paiement (ou arrêt)
// ****************************************************************************************************************
if($h_oledrion_caddy->isCartEmpty()) {
oledrion_utils::redirect(_OLEDRION_CART_IS_EMPTY, OLEDRION_URL, 4);
}
inserez
xoops_load("captcha");
$xoopsCaptcha = XoopsCaptcha::getInstance();
if (! $xoopsCaptcha->verify() ) {
oledrion_utils::redirect($xoopsCaptcha->getMessage(), OLEDRION_URL, 4);
}
|
|