Forums / Addon Payment Modules / Problem with eProcessing Network

Problem with eProcessing Network

Started by akincer on 14 Oct 2010, 1:57 AM · Views: 2,915

Results 1 to 5 of 5
14 Oct 2010, 1:57 AM
#1
akincer avatar

akincer

New Zenner

Join Date:
Jun 2010
Posts:
15
Plugin Contributions:
0

Problem with eProcessing Network

Version: 1.3.9f
Host: GoDaddy

Trying to integrate with eProcessing Network and I've followed the instructions on their website and as outlined here:

http://www.zen-cart.com/forum/showthread.php?t=66571

However, I can't get transactions to process. I keep getting the very unhelpful message:

  • Your credit card could not be authorized for this reason. Please correct the information and try again or contact us for further assistance.

Just like that with nothing preceding the hyphen. I'm pretty stumped.

I've tried regenerating the Restrict Key several times to make sure I wasn't doing anything wrong there. It doesn't help.

The error is also generated if it is in either testing mode or production.

Any ideas? Thanks in advance.

14 Oct 2010, 2:56 AM
#2
akincer avatar

akincer

New Zenner

Join Date:
Jun 2010
Posts:
15
Plugin Contributions:
0

Re: Problem with eProcessing Network

I've made progress. The error is still appearing, but it appears that eProcessing Network is getting the order transaction.

How strange is that?

15 Oct 2010, 12:17 AM
#3
akincer avatar

akincer

New Zenner

Join Date:
Jun 2010
Posts:
15
Plugin Contributions:
0

Re: Problem with eProcessing Network

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:

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');

I stuck in the output of the response_code to see what was happening. This is a snippet of what was output:

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.

2 Apr 2011, 7:41 PM
#4
swljoe avatar

swljoe

New Zenner

Join Date:
Apr 2008
Posts:
2
Plugin Contributions:
0

Re: Problem with eProcessing Network

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.

5 Apr 2011, 3:43 AM
#5
swljoe avatar

swljoe

New Zenner

Join Date:
Apr 2008
Posts:
2
Plugin Contributions:
0

Re: Problem with eProcessing Network

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