in checkout_process.php
there is a $credit_covers var
what is the meaning ?
if ($credit_covers === TRUE)
{
$order->info['payment_method'] = $order->info['payment_module_code'] = '';
}
in checkout_process.php
there is a $credit_covers var
what is the meaning ?
if ($credit_covers === TRUE)
{
$order->info['payment_method'] = $order->info['payment_module_code'] = '';
}
From the code source:
// pre_confirmation_check is called on checkout confirmation. It's function is to decide whether the
// credits available are greater than the order total. If they are then a variable (credit_covers) is set to
// true. This is used to bypass the payment method. In other words if the Gift Voucher is more than the order
// total, we don't want to go to paypal etc.
Cheers
Rod
thank you very much