- Posts: 59
- Thank you received: 3
Solved- double points redemptions
13 years 4 weeks ago #397
by Simpel
Solved- double points redemptions was created by Simpel
I can recall a few issues of double redemptions being posted so you would have to search the thread to locate what triggered these mis-haps and what was done to fix them.
On a better note, at least your payment module has been amended accordingly as it is carrying over the correct (albeit double redemption) order total. Once the double redemption issue is fixed the correct order total will be carried forward to your payment processor.
Can you remember the last changes you made to your checkout payment and order total modules as they are probably what is causing the error.
Find in:checkout_confirmation.html
replace this to :
problem was this line : $order_total_modules->process(); This as made twice.
also in the checkout_confirmation.php file.
On a better note, at least your payment module has been amended accordingly as it is carrying over the correct (albeit double redemption) order total. Once the double redemption issue is fixed the correct order total will be carried forward to your payment processor.
Can you remember the last changes you made to your checkout payment and order total modules as they are probably what is causing the error.
Find in:checkout_confirmation.html
Code:
<?php
if (MODULE_ORDER_TOTAL_INSTALLED) {
$order_total_modules->process();
echo $order_total_modules->output();
}
?>
replace this to :
Code:
<?php
if (MODULE_ORDER_TOTAL_INSTALLED) {
//$order_total_modules->process(); //Removed and moved to near line 77
echo $order_total_modules->output();
}
?>
problem was this line : $order_total_modules->process(); This as made twice.
also in the checkout_confirmation.php file.
Please Log in or Create an account to join the conversation.