Authorize.Net payment gateway integration for ARB (Automated Recurring Billing)
using latest sdk available for PHP and by means of recurring payment method
'commerce_authorize_arb'.

This module has integration with commerce (drupal.org/project/commerce) it
stores subscription information in $order->data and saves silentpost requests
as a commerce_payment transactions attached to the order.

Testing Silentpost

Authorize.Net will send a silentpost request after you send a subscription
only after a day (If it is been configured). This makes debugging and testing
much harder. To make it easier the module emulate the request by means of a
special url: 'http:///commerce-authorize-arb-silentpost-test'. When
requesting it (actually with no post data) the module will emulate a silentpost
request similar to ARB silentpost. You may see the post data in
commerce_authet_arb_get_sample_silentpost_post() function. If you want to change
the data you can edit the function or pass parameters you want to change by GET
parameters, like:
'http:///commerce-authorize-arb-silentpost-test?x_cust_id=1&x_amount=1'

Requirements

  1. PHP 5.3+ (>=5.3.10 recommended)
  2. cURL PHP Extension
  3. JSON PHP Extension
  4. SimpleXML PHP Extension
  5. An Authorize.Net Merchant Account or Sandbox Account. You can get a free sandbox account at http://developer.authorize.net/hello_world/sandbox/

Installation steps

  1. Please place Authorize.Net SDK in directory 'sites/all/libraries' from https://github.com/AuthorizeNet/sdk-php.
  2. Rename the sdk library directory name to 'anet_php_sdk'.
  3. Run `composer update` command in the 'sites/all/libraries/anet_php_sdk' directory.
  4. Enable the module.
  5. Go to 'admin/config/commerce-authorize-arb' and put the Authorize.Net auth info.
  6. To allow module to process silentpost requests from an Authorize.Net you have to configure a silentpost URL in your authorize.net account to 'http:///commerce-authorize-arb-silentpost'.
  7. If 'commerce_customer' module is been enabled, please enable 'Billing information' pane in checkout settings ('admin/commerce/config/checkout').
Supporting organizations: 

Project information

Releases