
Originally Posted by
osdude
icludes/modules/pages/checkout/header.php
about line 450
PHP Code:
$form_action_url = zen_href_linkFILENAME_CHECKOUT_PROCESS, '', 'SSL');
change to
PHP Code:
$form_action_url = zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL');
THis will "fix" the problem of the second attempt at entering CC info from not working, but it will also display the error message about the wrong CC info on the first page.
I'm no guru, so this may totally break the cart as far as I know.
Use at your own risk!!
I just looked into this change and I cannot recommend it. The original code is:
PHP Code:
default:
$form_action_url = zen_href_link(FILENAME_CHECKOUT, 'action=null', 'SSL');
if (!$_GET['payment_error'] && !$_GET['error_message'] && !$_GET['credit_class_error']) {
zen_redirect($form_action_url);
}
break;
This must stay this way or a lot of other features will not work. I will add some more rules for when a cc error occurs.
Bookmarks