I've made progress. The error is still appearing, but it appears that eProcessing Network is getting the order transaction.
How strange is that?
I've made progress. The error is still appearing, but it appears that eProcessing Network is getting the order transaction.
How strange is that?
I found the problem. I think I know how to resolve it, but I'm a bit curious as to WHY I would have to do this.
Here is where the code breaks down:
I stuck in the output of the response_code to see what was happening. This is a snippet of what was output:PHP Code:if ($response_code != '1') {
$messageStack->add_session('checkout_payment', $response_msg_to_customer . ' - ' . 'response code: ' . $response_code . ' - ' . MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_DECLINED_MESSAGE, 'error');
1|1|1|This transaction has been approved.
There was quite a bit more, but as you can see this is a delimited text string telling me the transaction was approved. Naturally, I could split the string or process $response_code[0] to see if it has been approved.
I'm going to look through the code and see what I need to do, but it just doesn't seem like I should have to do this.
Any suggestions are welcome.
I can't get my ZC to recognize that a credit card has charge has been accepted and processed by ePN; the order doesn't process in ZC and I get error messages that tell me the card was denied.
Were you successful in your efforts to make GoDaddy, Zen Cart, and eProcessingNetwork play nicely?
I'm stumped, despite reading everything I could in the FAQ and every forum posting having to do with ZC and ePN or ZC and GoDaddy hosting (wow... lot of hostility out there!)
In that past I've had it working properly, but now my problem resembles yours: When I enter a credit card charge, the values pass to ePN and the charge is processed, but the message doesn't get back to ZC, so I get the "Credit Card Denied" or the message you mentioned earlier.
I upgraded to ZC1.3.9h from 1.3.7 and have tried ePN's TDBE as well as the Authorize.net (AIM) emulation.... no joy.
My site (http://secretweaponlures.com/armory/) is using a Zen Cart template (premium 7) from Template Monster.
Uploaded and revised the configure.php file in the includes directory. Also the configure.php file in the admin/includes directory.
Double checked and replaced the Restriction Key. I hope there's something obvious that I'm overlooking, but I don't have a clue as to what it might be.
I got some help from zencarter.... He identified and fixed the problem for me.
In includes/modules/payment/authorizenet_aim.php, find line around 360. Change :
unset($response);
$response = $this->_sendRequest($submit_data);
to be :
unset($response_array);
$response_array = $this->_sendRequest($submit_data);
$response = explode("|", $response_array[0]);
Once this change was made and the file uploaded, then the Authorize.net (AIM) module worked flawlessly with eProcessingNetwork. At least, that solved my problem. If that does not work for you, you might want to get some expert help:
http://www.zencarter.com/shop/contact_us.html