
Originally Posted by
split63
What is the "Low order fee"?
Isn't that last change duplicated at line 173?...which is apparently why it was commented out (162-169)
Sorry, you are right.
following code is duplicated. Please erase the code.
<div id="orderTotals"><?php $order_total_modules->output(); ?></div>
and This statement is also incorrect.
\www\includes\modules\payment\stripe.php 150-154
PHP Code:
if (MODULE_ORDER_TOTAL_INSTALLED) {
$order_totals = $order_total_modules->process();
$c = count($order_totals);
$c -= 1;
$order_value = $order_totals[$c]['value'];
} else{
$order_value = $order->info['total'];
}
Correct statement is as follows
This code can support low order fees.
PHP Code:
if (MODULE_ORDER_TOTAL_LOWORDERFEE_STATUS == 'true' && MODULE_ORDER_TOTAL_LOWORDERFEE_ORDER_UNDER >= $order->info['total']) {
$order_value = $order->info['total'] + MODULE_ORDER_TOTAL_LOWORDERFEE_FEE ;
} else{
$order_value = $order->info['total'];
}
It will be reflected in the next update.