Commerce Authorize ARB
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
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
- PHP 5.3+ (>=5.3.10 recommended)
- cURL PHP Extension
- JSON PHP Extension
- SimpleXML PHP Extension
- 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
- Please place Authorize.Net SDK in directory 'sites/all/libraries' from https://github.com/AuthorizeNet/sdk-php.
- Rename the sdk library directory name to 'anet_php_sdk'.
- Run `composer update` command in the 'sites/all/libraries/anet_php_sdk' directory.
- Enable the module.
- Go to 'admin/config/commerce-authorize-arb' and put the Authorize.Net auth info.
- 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'.
- If 'commerce_customer' module is been enabled, please enable 'Billing information' pane in checkout settings ('admin/commerce/config/checkout').
