Forums / Addon Payment Modules / NMI Gateway problem?

NMI Gateway problem?

Results 1 to 13 of 13
08 Oct 2010, 22:44
#1
blackboot avatar

blackboot

New Zenner

Join Date:
Oct 2010
Posts:
4
Plugin Contributions:
0

NMI Gateway problem?

Have an account through Merchant One, and NMI is apparently who processes their transactions. Neither of their tech support people are any help, so I guess I'm down to the community to get some help.

Running gateway_services_cc credit card module for payment. All was entered correctly. I have two options in my zen-cart checkout, credit card, or check/money order. When I place an order with check, everything works normal, and it goes to my order success page like it should. I get the normal email telling me what I ordered, and my zen-cart admin area can see the order placed. When I place with credit card, after submitting, it does not go to order success, instead it goes to a white screen with nothing on it. As I place the order, it appears to start going through the api, but then leaves me with:

index.php?main_page=checkout_process&response=3&responsetext=Duplicate+transaction+REFID%3A113440987&authcode=&transactionid=&avsresponse=&cvvresponse=&orderid=&type=sale&response_code=300&username=xxxxxxx&time=20101008224206&amount=1.06&hash=203f25915abb7eac8dd3805e1ad91c9d

Here's the kicker.....it does NOT update the order in zen-cart. The order stays in the shopping cart, and I can see no new order in my admin area. However, the credit card gets processed through NMI, and the customer is billed. So, somewhere, it's getting hung up.

Anyone have any suggestions?

Thanks,

Boot.
08 Oct 2010, 23:03
#3
blackboot avatar

blackboot

New Zenner

Join Date:
Oct 2010
Posts:
4
Plugin Contributions:
0

Re: NMI Gateway problem?

Thanks for the quick response. I forgot to mention that I have already tried reloading all the define-order-success files, and when that didn't work, reloaded the entire thing.
10 Oct 2010, 05:01
#4
blackboot avatar

blackboot

New Zenner

Join Date:
Oct 2010
Posts:
4
Plugin Contributions:
0

Re: NMI Gateway problem?

I have now reinstalled everything, with a fresh download of Zen-Cart. I have also tried BOTH methods for error catching. NOTHING. Anyone else have any ideas?

Thanks again,

Boot.
10 Oct 2010, 05:12
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: NMI Gateway problem?

"hash=xxxxxxxxxxx" is a parameter that's frequently used as an exploit point by hackers. As such Zen Cart traps it and prevents the page from doing anything when &hash= is in the URL. That's why you're getting a blank page.

Better to rewrite the module to do background communications instead of redirecting the customer to another site ... unless that's all the module is capable of doing, in which case you'll have to get creative.
10 Oct 2010, 21:38
#6
blackboot avatar

blackboot

New Zenner

Join Date:
Oct 2010
Posts:
4
Plugin Contributions:
0

Re: NMI Gateway problem?

Thanks Doc. My problem would start with the fact that I have no clue how to begin to right the module so it does background calculations. However, then I wonder, since this combination that I'm using has been used by others, what did they do? Did it work for them? Why can't my NMI tech support help me at all on this? Just frustrated that a module supplied by NMI that is supposed to work in Zen-Cart, just doesn't.

Boot.
04 Nov 2010, 21:28
#7
nmi_support avatar

nmi_support

New Zenner

Join Date:
Apr 2009
Posts:
3
Plugin Contributions:
1

Re: NMI Gateway problem?

Hi Blackboot,

We would be more than happy to assist you as we are familiar with what you are describing and can offer a work-around.

Please call me directly at 847-352-4850x101.

Thank you.
04 Nov 2010, 21:41
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: NMI Gateway problem?

What is your workaround?
05 Nov 2010, 00:06
#9
nmi_support avatar

nmi_support

New Zenner

Join Date:
Apr 2009
Posts:
3
Plugin Contributions:
1

Re: NMI Gateway problem?

DrByte,

Our work-around is utilizing a module that does not use our "hashing" authentication methodology.

We can also use a more traditional authentication mechanism. (i.e. user/pass)
05 Nov 2010, 00:09
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: NMI Gateway problem?

Great. Using more contemporary technology is the better solution.
05 Nov 2010, 19:39
#11
mlindi avatar

mlindi

New Zenner

Join Date:
Sep 2006
Posts:
50
Plugin Contributions:
0

Re: NMI Gateway problem?

Hi Kids -

I actually went through this once before. When 1.39a was released, the NMI gateway module broke. In talking with NMI, they advised my to use the Authorize.net (/includes/modules/authorizenet_aim.php) module and modify it as follows:

near line 507, replace

$url = 'https://secure.authorize.net/gateway/transact.dll';
$devurl = 'https://test.authorize.net/gateway/transact.dll';
$dumpurl = 'https://developer.authorize.net/param_dump.asp';
$certurl = 'https://certification.authorize.net/gateway/transact.dll';

with:

$url = 'https://secure.networkmerchants.com/gateway/transact.dll';
$devurl = 'https://secure.networkmerchants.com/gateway/transact.dll';
$dumpurl = 'https://secure.networkmerchants.com/gateway/transact.dll';
$certurl = 'https://secure.networkmerchants.com/gateway/transact.dll';

I did that and all was once again zen!
14 Jul 2011, 05:36
#12
xcadam89 avatar

xcadam89

New Zenner

Join Date:
Jul 2007
Posts:
35
Plugin Contributions:
0

Re: NMI Gateway problem?

When using this solution, do you have to set up a merchant account through authorize.net or can you still use your existing NMI account??

I'm just confused how to set it up in the store control panel, I've already modified the file and reuploaded it with my FTP client.
14 Jul 2011, 06:47
#13
nmi_support avatar

nmi_support

New Zenner

Join Date:
Apr 2009
Posts:
3
Plugin Contributions:
1

Re: NMI Gateway problem?

XCAdam89:

When using this solution, do you have to set up a merchant account through authorize.net or can you still use your existing NMI account??



Adam, no, you do not need an Authorize.NET gateway account.

Using the Authorize.NET emulation method, you are leveraging the Authorize.NET module, but submitting the request directly to the gateway. (We understand their format and respond back in their format, thus, the module works)

You will simply map your existing gateway username/password to the Authorize.NET plug-in API User ID/transaction key respectively.

Give us a call at 847-352-4850x2 if you would like further assistance.