enter the coupon code 2 times fix (ERROR_REDEEMED_AMOUNT_ZERO):
the problem is the cc_id in the following line:
pre_confirmation_check calls calculate_credit the problem is the cc_id varible not available in calculate_credit. in my opinion it is an php-error not a code error.
to fix this do the following in ot_coupon.php:
then
then
this make copy of the cc_id and make it available in calculate_credit. just a workaround not really fine but it works.
sorry for the poor english i hope you understand what i mean and it will help.
so long
Meesta