This module allows integration of the Authorize.NET Online-Payment Processing System (PPS) with the OXID eSales e-Commerce software.  The module was developed for OXID-4 Community Edition and is distributed free open-source (GPL2) software by euroblaze.  It should just as well work with OXID Professional and Enterprise Edition.

A copy of the source-code can be downloaded as anonymous user from our SVN-server.  Just the ZIP-file is also available for download, but please check the currentness of this package us before using the module.

Module Prerequisites

  1. Pear installation on the web server is a must. Please make sure that Pear is installed before testing for the demo payment
  2. Net_URL2-0.3.1 extension of Pear is must. It can be installed by using following command on the web server.
    > pear install Net_URL2-0.3.1
  3. HTTP_Request2-0.4.0 extension of Pear is must. It can be installed by using following command on the web server.
    > pear install HTTP_Request2-0.4.0

Installation Notes

  1. Copy the contents of the folder "copy_this" to shop root
  2. Look in the folder "change_full" if any customized templates are affected, if not just copy content to shop folder. If there are affected templates, the changed code snippets can be found within
    [{* EB authorizenet payment module changes - Added - Start *}] & [{* EB authorizenet payment module changes - Added - End *}]

Configuration

There are few important configuration-variables in module file eb_authorize_payment.php which have to be set before the module works with your Authorize.Net account:

  1. Login ID and Tranaction ID keys
    // authorize.net login
    protected $sLoginId = '2x5deg2Sdn';

    // This is the Login ID key
    // authorize.net transaction key
    protected $sTransactionKey = '7Uus2UZdkdiQ559yX3';

    These two key are a must settings inside the module file and the same can be generated by opening a test account in the developer section in Authorize.Net the URL is http://developer.authorize.net/testaccount/

    Once your Test account is setup you can generate Login ID and Transaction ID key from the security setion inside your account, the URL is https://test.authorize.net/ui/themes/anetcerttest/User/TransactionKey.aspx

  2. Test mode: Currently the payments are done in test mode which can be changed to production mode for real payments by changing 2 settings which are as follows

    // authorize.net transaction mode
    // set to false for 'real' transactions
    protected $sTestMode = true;

    // This is the test mode variable Set it flase for Production
    // authorize.net test URL
    // change to live URL for 'real' transactions to https://secure.authorize.net/gateway/transact.dll
    protected $sTransactionUrl = 'https://test.authorize.net/gateway/transact.dll';

    // Above is the test payment gateway URL. Set it to https://secure.authorize.net/gateway/transact.dll for production.

Contact and Customized OXID Module Development

As a certified OXID-partner, euroblaze specializes in OXID technology, with valuable experience gained over 75 projects ranging from template-implementations, concept-to-handover projects, sales-optimization, module-development and shop-integration with ERP backends.  Contact us today for your OXID programming needs!

OXID mit Freude
OXID Blog
euroblaze auf Twitter
XING

 
Deutsch (DE-CH-AT)