Ecommerce Templates > ASP Version Help > Payment Processors > Authorize.Net

Authorize.net

Authorize.net and Ecommerce Templates

Ecommerce Templates supports Authorize.net integration methods, AIM (Advanced integration method), Accept Hosted (Originally SIM) and SIM (now deprecated). If you use the AIM method you will need an SSL certificate, either your own or shared from your host. This is because the credit card details are taken on your site over a secure (https) connection. You don't get to see the credit card details and they are not stored in your database. For refund / reporting cases, the last four digits will be available to you through the authorize.net control panel. Using the Accept Hosted / SIM method means that the customer will be transferred to the authorize.net secure payment form on their servers to enter the credit card details so a SSL certificate is not required but recommended.

If you choose to use Authorize.net (AIM), it is possible to enroll in the Verified by Visa program.

Setting up an account with Authorize.Net

Authorize.Net AIM integration

You will need an ssl certificate installed on your server

  • Log into your account at https://secure.authorize.net
  • Scroll down until you see "Security", then click on "Obtain Transaction Key".
  • Answer the Secret Question you used to set up your account and take note of this transaction key.

Now, in your Ecommerce Template admin, go to the Payment Providers section, click "Modify" for Authorize.Net AIM and enter your API Login ID and Transaction Key where indicated. Make sure the system is set to "Enabled" and is in demo mode to allow you to test easily.

Authorize.net AIM

You should now be ready to run some tests through the system. To test, use the following visa card number with any date in the future. 4007000000027

When you're ready to go live, don't forget to take Authorize.Net out of demo mode in your Ecommerce Plus Template admin section.

Authorize.Net Accept Hosted Integration

  • Log into your account at https://secure.authorize.net
  • To get the Signature Key, log in to the Authorize.net control panel and click on Account->Settings->API Credentials & Keys and choose New Signature Key
  • Click Submit.
  • Now go back to the https://secure.authorize.net settings main menu.
  • Scroll down until you see "Security", then click on "Obtain Transaction Key".
  • Answer the Secret Question you used to set up your account and take note of this transaction key.
  • Now go to Account > Settings > Webhooks. Give it the name of your choice, enter the endpoint URL
    https://www.yourstoreurl.com/vsadmin/ppconfirm.asp and make sure it shows as Active and select all the Events

Now, in your Ecommerce Template admin, go to the Payment Providers section, click "Modify" for Authorize.Net SIM and enter your API Login ID, Transaction Key and Signature Key where indicated. Make sure the system is set to "Enabled" and is in demo mode to allow you to test easily. Set the Integration Method to "Use Accept Hosted"

Authorize.net Accept Hosted

You should now be ready to run some tests through the system. To test, use the following visa card number with any date in the future. 4007000000027

When you're ready to go live, don't forget to take Authorize.Net out of demo mode in your Ecommerce Plus Template admin section.

Authorize.Net SIM Integration (Deprecated)

Included with your store template there is a special file in the admin directory called wpconfirm.asp. The function of this file is to interpret the response from Authorize.Net. You need to enter the URL of this file in your Authorize.Net admin section to indicate that it is a valid URL. To do this:

  • Log into your account at https://secure.authorize.net
  • Scroll down till you see the "Transaction Response" section, and click "Response/Receipt URLs"
  • Click "Add URL"
  • Enter the exact URL of this file, for instance . . .
    http://www.yourstore.com/vsadmin/wpconfirm.asp
  • Go to the payment provider admin page for Authorize.net and you will see where you can enter the Signature Key.
    To get the Signature Key, log in to the Authorize.net control panel and click on Account -> Settings
    Then under Security Settings click on API Credentials & Keys
    Answer the Secret Question in Secret Answer and check New Signature Key.
  • Click Submit.
  • Now go back to the https://secure.authorize.net settings main menu.
  • Scroll down until you see "Security", then click on "Obtain Transaction Key".
  • Answer the Secret Question you used to set up your account and take note of this transaction key.

Now, in your Ecommerce Template admin, go to the Payment Providers section, click "Modify" for Authorize.Net SIM and enter your API Login ID and Transaction Key where indicated. Make sure the system is set to "Enabled" and is in demo mode to allow you to test easily.

Authorize.net SIM

You should now be ready to run some tests through the system. To test, use the following visa card number with any date in the future. 4007000000027

When you're ready to go live, don't forget to take Authorize.Net out of demo mode in your Ecommerce Plus Template admin section.

 

Troubleshooting

If you receive an error such as "The referrer, relay response or receipt link URL is invalid" or an error number 14, then please check that the Store URL in your Admin Main page is correct. The Store URL should be the URL of the base of your store. If it´s not in a subdirectory it would be http://www.yoursite.com. If it is in a subdirectory then you will need to add that, for instance . . . http://www.yoursite.com/store/

Do remember to change http://www.yoursite.com for the actual URL of your site. You'll be surprised how many trip up on that one.

If you receive the error "(13) The merchant login ID or password is invalid or the account is inactive." then check that in the Merchant Login ID under the Authorize.net payment providers page of the Admin Control Panel you have entered the Login number not the Merchant ID number.

If you receive an error similar to Type mismatch: 'vsRESULT' then log into your authorize.net merchant control panel and click on Settings and Profile -> Direct Response (under the Transaction Response heading) -> Then under Direct Response Delimiter make sure "Field Encapsulation Character" is set to nothing.

Please do read our guide here on credit card fraud.

More information

If you want to accept echecks through authorize.net (AIM) then you will need this addition to includes.asp. We have some more features for the authorize.net set up here.