Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Authorizenet Debug Version


Ian

Recommended Posts

The code is based on the osCOmmerce built in authorizenet module. (cvs version 1.48 10th April 2003)

 

Sometimes working out what's going wrong when credit cards are not being authorized by authnet can be a pain.

 

This module adds some extra output when things aren't working.

 

On line 22 of the module you will find

 

// ICW DEBUG CODE - ADDED FOLLOWING LINE **********************************************************************

$this->debug = false;

 

 

with $this->debug = false; the module will act no different from the standard module.

 

Change it to $this->debug = true;

and you will get the following information as well as the standard authorize.net error string.

 

failure code

failure reason code

failure reason text.

 

You can also use the failure reason code to reference the SIM manual (available via your merchant interface)

to get even more detailed info as to why the trannsaction failed.

Trust me, I'm an Accountant.

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...