Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop
This commit is contained in:
commit
c2dc8a441b
@ -178,6 +178,9 @@ if ($request_type && $ppec->type) {
|
||||
|
||||
// @ANTADIS - if id_billing make transaction
|
||||
if ($id_billing_to_use != 0) {
|
||||
if($ppec->getTotalPaid() <= 0){
|
||||
return Tools::redirectLink($ppec->context->link->getPageLink('order.php').'?step=3&cgv=1&paypal_error=1');
|
||||
}
|
||||
$ppec->DoReferenceTransaction($id_billing_to_use);
|
||||
$amount_match = $ppec->rightPaymentProcess();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user