Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSCommerce/Authorize.net


bazadodg

Recommended Posts

I swear, I did search through the archives to find the answer myself.... but, after trying numerous things, I can't get OSCommerce to communicate w/ Authorize.net.

 

So ANY help would be soooooooooo appreciated.

 

I originally downloaded an Authorize.net module which worked fine. It was passing the info to Authorize.net and everything was good except I wanted to 'Authorize Only' not 'Authorize and Capture'. So, to fix this, I downloaded the "Authorize.net Consolidated for AIM ? 2004 V. 1.7" which addresses this. First I uninstalled the older payment module... and then installed the new files as it is described.

 

Since I've done that... when I enter in a valid credit card # I get the following error. "There has been an error processing your credit card. Please try again."

 

Now, the data isn't even getting to Authorize.net so I can't even check the error code on their end. I'm on a Linux server and have 'compiled' checked off in cURL setttings. I don't know what to do... I'm not a technical person but I can update the code).

 

What's frustrating was that I had it working!!! and now I screwed it up. I spent the last week trying to figure it out on my own... and I just can't do it.

 

I think it may be an issue of jumping between https and http documents. My server has two separate folders in which I am placing the files into them. So, I don't know if this is what causing it. Also, my SSL is set-up and working fine.

 

Any ideas WOULD BE SO HELPFUL AND APPRECIATED!

 

Best

damian

Link to comment
Share on other sites

First the default module is out of date.

 

You need to install the new Authorize.net module, available here.

 

http://www.oscommerce.com/community/contri...h,Authorize.net

 

(**PLEASE BE SURE TO BACK UP YOUR SHOP BEFORE ADDING NEW MODULES**)

 

If you have never installed a new module, the instruction are pretty much

straight forward...if you need help, let me know.

 

Not adding the new updated module is where most people fail, but after that

it's usually in the settings themselves.

 

First thing you need to do is have a very competent web host that knows what

they are doing.

 

First, they need to have the latest version of cURL installed on your

server.

 

http://curl.haxx.se/

 

Once, you have positively established that cURL is installed and set up

properly, then you need to set up Authorize.net as well as the new module

properly.

 

In your Authorize.net setting you should have the following setup courtesy

of petercwik.

 

"OK Guys here's the deal. (Just got it working last week)

 

You don't need a Receipt page, so delete that entry in Authorize.net

 

The Response page (at authorize.net) should be

https://www.yoursite.com/catalog/checkout_process.php

 

In the Direct Response (at authorize.net), click the YES radio button to say

that you want delimited response, you can leave the default delimiter of a

comma.

 

That is it."

 

----------------------------------------------------------------------------

------

 

Here are the osCommerce settings in the admin CP

 

Authorize.net Consolidated v1.7 by Austin519

 

Enable Authorize.net Module

True

 

Login Username

example_admin

 

Login Transaction Key

example_transactionkey324jewsr8u

 

cURL Setup

Compiled

 

cURL Path

/usr/bin/curl

 

Transaction Mode

Production

 

Transaction Method

Credit Card

 

Processing Mode

Authorize And Capture

 

Sort Order Of Display

0

 

Customer Notifications

True

 

Accepted Credit Cards

 

 

After weeks of getting close...our final problem was this

 

1) Go to authorizenet_direct.php. Go to line 149, which reads: $url =

"<https://secure.authorize.net/gateway/transact.dll>"; Remove the brackets.

It should now read: $url =

"https://secure.authorize.net/gateway/transact.dll"; ...the 1.7 version of

this code has a lot of the previous issues associated with this section of

code cleaned up, so you shouldn't have to do more than this.

 

Adding the new module, correcting the setting in Authorize.net &

osCommerce and making the above change corrected all our problems...I hope

this helps

 

Sincerely

 

The Finman - Administrator of RonaldReagan.com

Link to comment
Share on other sites

Damian,

 

I had same problem you did. Everything was working great added some contribs and the payment gateway went south.

 

Fix for me was to add the contrib that Fin suggested. With that contrib there is a field for the cURL path. I got that path from my ISP and entered. Problem gone. That is in non-compiled mode.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...