Configuring Authorize.NET

From Opentaps Wiki
Revision as of 23:37, 14 November 2007 by LeonTorres (talk | contribs) (Test Mode using Test Account)
Jump to navigationJump to search

Testing Setup

Authorize.NET has two very different settings with regards to testing,

Test Mode using Live Credentials

This mode is where you use your actual credentials on the live Authorize.NET server. It is activated by passing a special flag.

No actual transactions will be created by Authorize.NET in this mode. That means it is unsuitable for testing authorizations, captures, refunds and voids. It should be treated only as a way to ensure that a connection with the live server is established.

Test Mode using Test Account

This mode is where you use a separate Authorize.NET testing account on the certification Authorize.NET server.

Unlike the previous mode, this one creates test transactions that can be authorized, captured, voided and refunded. This mode should be used for development purposes and for trial runs of the production system. It can be used only with a separate testing account distinct from the one used for production. A testing account can be obtained from the following URL,

http://developer.authorize.net/testaccount/

To properly configure this mode, you need to log into your Authorize.NET test account with the login name and password provided by Authorize.NET and turn test mode off. The URL, login and password are provided to you when you complete the test account registration.

Furthermore, you will need to change the gateway URL in payment.properties to the following,

payment.authorizedotnet.url=https://test.authorize.net/gateway/transact.dll