Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop

This commit is contained in:
Christophe Latour 2017-09-27 16:00:43 +02:00
commit 0b0c0f24fa

View File

@ -178,7 +178,7 @@ if ($request_type && $ppec->type) {
// @ANTADIS - if id_billing make transaction
if ($id_billing_to_use != 0) {
if(!$ppec->DoReferenceTransaction($id_billing_to_use)){
if($ppec->DoReferenceTransaction($id_billing_to_use) === false){
return Tools::redirectLink($ppec->context->link->getPageLink('order.php').'?step=3&cgv=1&paypal_error=1');
}
$amount_match = $ppec->rightPaymentProcess();