Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

authorize.net difficulties


edschaum

Recommended Posts

  • Replies 128
  • Created
  • Last Reply

I have not read all the pages of this, but I finally got it working. I have osc running on windows 2000.

 

I installed openssl (http://www.shininglightpro.com/products/x8...ial/OpenSSL.exe)

 

and cURL(http://curl.cyberservers.net/download/curl...8-win32-ssl.zip)

i downloaded it, and put the extracted files in c:\curl

 

then I went into the authorizenet_direct.php and changed the last line to:

 

exec("c:/curl/curl.exe -d \"$data\" https://secure.authorize.net/gateway/transact.dll", $response);

 

then, once I had auth.net and osc out of test mode, things started authorizing, even cvv worked.

 

hope this help someone..

sorry if this is slightly mess, i have the flu :blink:

 

enjoy--phaed0

also thx to jimylongs for his help on this one...

Link to comment
Share on other sites

Hi Chris,

 

I have tried what you did but I am getting this error:

 

Warning: exec(): Unable to fork [c:/curl/curl.exe -d "x_Login=tester123&x_PASSWORD=test&x_ADC_Delim_Data=TRUE&x_ADC_URL=FALSE&x_Version=3.0&x_Type=AUTH_ONLY&x_Method=Credit+Card&x_Amount=134.90&x_Card_Num=4111111111111111&x_Exp_Date=0710&x_Email_Customer=FALSE&x_Email_Merchant=FALSE&x_Cust_ID=2&x_First_Name=na&x_Last_Name=khan&x_Address=122+home+land&x_City=far&x_State=Virginia&x_Zip=2222&x_Country=United+States&x_Phone=1231231234&x_Email=support%40dnhits.com&x_Ship_To_First_Name=nafees&x_Ship_To_Last_Name=khan&x_Ship_To_Address=122+home+land&x_Ship_To_City=far&x_Ship_To_State=Virginia&x_Ship_To_Zip=2222&x_Ship_To_Country=Array&x_Customer_IP=69.13.132.60&x_Description=Your+Products+Description&osCsid=0d58fc89e830509395ca616c81ab3e48∏= https://secure.authorize.net/gateway/transact.dll] in C:\www\catalog\includes\modules\authorizenet_direct.php on line 65

 

Fatal error: Call to undefined function: curl_init() in C:\www\catalog\includes\modules\authorizenet_direct.php on line 71

 

 

Thanks

Link to comment
Share on other sites

  • 3 weeks later...
I have not read all the pages of this, but I finally got it working. I have osc running on windows 2000.

 

I installed openssl (http://www.shininglightpro.com/products/x8...ial/OpenSSL.exe)

 

and cURL(http://curl.cyberservers.net/download/curl...8-win32-ssl.zip)

i downloaded it, and put the extracted files in c:\curl

 

then I went into the authorizenet_direct.php and changed the last line to:

 

exec("c:/curl/curl.exe -d \"$data\" https://secure.authorize.net/gateway/transact.dll", $response);

 

then, once I had auth.net and osc out of test mode, things started authorizing, even cvv worked.

 

hope this help someone..

sorry if this is slightly mess, i have the flu :blink:

 

enjoy--phaed0

also thx to jimylongs for his help on this one...

Hi Chris,

 

I followed your instruction step-by-step and getting the infamous "There has been an error processing your credit card. Please try again. :unsure:

 

Are there some codes I can add to find out what is the exact error instead of the generic message above? :(

 

By the way, I am running Windows 2003 and OSC 2.2 MS2 if that makes any differences.

 

Thanks

-Tuan

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...