Merge branch 'ticket-14301-ErrorApiPaypal' into develop

This commit is contained in:
Marion Muszynski 2017-09-27 16:00:24 +02:00
commit 59f5489410

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();