Hello,
I just installed the latest version of CCGV(trad) (November 16th 2008) and face two problems right now (using osC 2.2 RC2a):
In checkout_confirmation.php I don't get the order totals displayed. I think this must have something to do with the repositioned lines but I can't find the problem.
When I try to submit the order - ignoring that there are no order totals displayed and no matter whether I want to redeem a voucher or not - I get thrown back to checkout_payment.php with the message that I didn't choose a payment method. That is because in these lines
// Line edited for CCGV
if ( (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$payment)) && (!$credit_covers) ) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL'));
}
the two conditions (!is_object($$payment)) && (!$credit_covers) are always opposite to each other, even though I think the code is logically correct I don't understand why the two conditions have the values they have.
If someone needs more information to help me solve my problem, then please tell me what you need to know.
Thanks in advance.
Kalle
EDIT: Fixed some typos.