I am a relative Zencart newbie, and I have a problem that I cannot solve. I have tried all the suggestions that I can find in this forum, and none of them have helped yet.
My site was working correctly until 3 days ago, and since that time, when I try to go from Step 1 of 3 in my checkout process, the process hangs up. I am using 1.3.9h.
The error is as follows:
Parse error: syntax error, unexpected $end in /home/content/51/7938251/html/zencart/includes/modules/payment/authorizenet_aim.php on line 871
I used the developers tool kit and discovered that I needed to reload the original files to ensure that I had the language file and module file in the correct spot, and it made no difference. So far, I have not put my modifications back into the files until I can resolve the error.
The last few lines of the referenced module are:
if ($response_code != '1' || ($response[0]==1 && $response[2] == 310) ) {
$messageStack->add_session($response_alert, 'error');
} else {
// Success, so save the results
$sql_data_array = array('orders_id' => (int)$oID,
'orders_status_id' => (int)$new_order_status,
'date_added' => 'now()',
'comments' => 'VOIDED. Trans ID: ' . $response[6] . ' ' . $response[4] . "\n" . $voidNote,
'customer_notified' => 0
);
zen_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array);
$db->Execute("update " . TABLE_ORDERS . "
set orders_status = '" . (int)$new_order_status . "'
where orders_id = '" . (int)$oID . "'");
$messageStack->add_session(sprintf(MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_VOID_INITIATED, $response[6], $response[4]), 'success');
return true;
}
return false;
}
?>
I would appreciate any assistance that anyone can offer on this holiday.
My site URL is: HTTPS://www.a p p a l a c h i a s t i t c h e s. c o m/z e n c a r t /
![]()


Reply With Quote
