Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

AUTHORIZE.NET - 2.2 MS1 - NO RESPONSE DURING CC PROCESS


Guest

Recommended Posts

I installed MS1 then added the ADC and CVV modules:

 

http://www.oscommerce.com/community/contributions,725

 

http://www.oscommerce.com/community/contributions,613

 

I modified the authorizenet_direct.php file with my PW and added all files according to instructions.

 

I went into the Anet admin area and made sure it met the requirements... put it in Test mode along with OSC and made a purchase.

 

When I hit confirm it just sits there.... eventually it will time out I guess but I get tired of waiting. I'm thinking something is still wrong but lo and behold I receive the email from Anet stating the TEST transaction was successful! I tried it again.. same result. I started wondering if I didn't have port 443 blocked by my new firewall... nope it's ok.

 

Basically it seems that OSC isn't getting a response back from Anet.. I have a call into Anet support and am waiting for a call back.

 

Anyone else run into this?

Link to comment
Share on other sites

Oh... curl IS installed.. guess that should be obvious since I received an approval email.

 

Should I be making any changes in the Anet admin for:

 

Direct Response Delimiter

Specify if the transaction response should be delimited. If you wish to delimit the transaction response, specify the character used to delimit and an encapsulation character (if required).

 

---

Delimited Response: No

Default Field Separator ,

Field Encapsulation Character

 

I noticed in the authorizenet_direct.php file that:

 

x_Delim_Data => 'TRUE',

x_Version => '3.1',

 

Should the Delimited Response in Anet be Yes? The versions are both 3.1 in the php file and Anet.

Link to comment
Share on other sites

I talked to Anet.. they are receiving the transaction (as evidenced by the emails I received) and are sending the response back from where it came. It seems that osc just isn't parsing the results.

 

Any ideas?

Link to comment
Share on other sites

Well... maybe it's a Curl issue... when I attempt a transaction the cpu goes through the roof while curl tries to run... I had about 7 intances from that many attempts.. guess it's running, waiting on a a response from Anet? Had to kill thos pids.

 

Another site of mine on the server that has a phpinfo file for reference:

 

www.mods4me.com/phpinfo.php

Link to comment
Share on other sites

FIXED:

 

Found the fix at http://www.oscommerce.com/forums/viewtopic.php...et+adc&start=60

tomarriola

Posted: Mon Dec 09, 2002 2:37 pm

 

I fixed my adc authorizenet issues via a means not seen here.

 

Others had enabled the -k switch on their curl command. My version of curl didn't support -k . I have curl 7.9.4 installed on a cobalt raq server.

 

I had to use -0 to make it work, instead of -k. The result is the same. My non-working authorizenet connection now works.

 

 

The next step is upgrading curl so I can use a more secure menas and remove -0 (BTW thats A ZERO not the letter O)

 

Thanks Tom!

 

This was on a Cobalt RaQ4R with:

 

[root log]# curl -V curl 7.9.4 (i386-redhat-linux-gnu) libcurl 7.9.4 (OpenSSL 0.9.6b)

 

hence the -0 worked... the final string looked like this:

 

// Post order info data to Authorize.net, make sure you have curl installed

exec("/usr/bin/curl -0 -d "$data" https://secure.authorize.net/gateway/transact.dll", $response);

 

Maybe this will save a few other souls from pulling their hair out.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...