Merge branch 'ticket-14301-ErrorApiPaypal' into develop
This commit is contained in:
commit
59f5489410
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user