Download the PHP package ajbdev/authorizenet-php-api without Composer
On this page you can find all versions of the php package ajbdev/authorizenet-php-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ajbdev/authorizenet-php-api
More information about ajbdev/authorizenet-php-api
Files in ajbdev/authorizenet-php-api
Package authorizenet-php-api
Short Description Authorize.NET PHP library with composer support
License
Informations about the package authorizenet-php-api
THIS REPO IS DEPRECATED Please use the official authorize.net PHP instead: https://github.com/AuthorizeNet/sdk-php This repo only existed to provide a packagist version of the old (pre-5.3) authorize.net SDK
By: Authorize.Net http://developer.authorize.net http://community.developer.authorize.net
License: See License.pdf
About: A PHP library for working with all Authorize.Net APIs.
Files:
- AuthorizeNet.php -> Includes all classes. Include this file in your project.
- lib/AuthorizeNetAIM.php -> AIM API.
- lib/AuthorizeNetARB.php -> ARB API.
- lib/AuthorizeNetCIM.php -> CIM API.
- lib/AuthorizeNetSIM.php -> SIM API.
- lib/AuthorizeNetTD.php -> Reporting API.
- lib/AuthorizeNetCP.php -> Card Present API.
- lib/AuthorizeNetDPM.php -> Direct Post Method Helpers.
- lib/AuthorizeNetSOAP.php -> Class to assist with using the SOAP API.
- lib/shared/AuthorizeNetRequest.php -> Class to connect to AuthorizeNet.
- lib/shared/AuthorizeNetTypes.php -> Classes for AuthorizeNet Datatypes.
- lib/shared/AuthorizeNetResponse.php -> Class to parse AuthorizeNet NVP Responses.
- lib/shared/AuthorizeNetXMLResponse.php -> Class to parse AuthorizeNet XML Responses.
- lib/ssl/cert.pem -> The AuthorizeNet Certificate bundle.
- tests/ -> Tests & examples for each of the API methods.
- README -> This file.
- README.html -> HTML version of this file.
Requirements:
- cURL PHP Extension
- PHP 5.2+
- An Authorize.Net Merchant Account or Test Account. You can get a free test account at http://developer.authorize.net/testaccount/
Install:
- Include the 'AuthorizeNet.php' file in your application.
- Use your desired API.
Usage Examples: See below for basic usage examples. View the tests/ folder for more examples of each API.
AuthorizeNetAIM.php Quick Usage Example:
AuthorizeNetAIM.php Advanced Usage Example:
AuthorizeNetARB.php Usage Example:
AuthorizeNetCIM.php Usage Example:
AuthorizeNetSIM.php Usage Example:
AuthorizeNetDPM.php Usage Example:
AuthorizeNetCP.php Usage Example:
AuthorizeNetTD.php Usage Example:
Test Credit Card Numbers:
- Set the expiration date to anytime in the future.
- American Express Test Card=> 370000000000002
- Discover Test Card => 6011000000000012
- Visa Test Card => 4007000000027
- Second Visa Test Card => 4012888818888
- JCB => 3088000000000017
- Diners Club/ Carte Blanche=> 38000000000006
PHPDoc: To autogenerate PHPDocs run: phpdoc -t phpdocs/ -f AuthorizeNet.php -d lib
Release Notes Version 1.1.8
- Fixed an issue with validationMode in CIM::updateCustomerPaymentProfile. Note: The behavior where validationMode persisted across transactions using the same request object has been removed. This was unsupported behavior.
- Removed an unused validationMode argument in CIM::updateCustomerProfile. The parameter used to be ignored, now its removed.
- Enhanced the tests with checks for single digit months in expiration date support and SSL certificate validity. Version 1.1.7
- Added getBatchStatisticsRequest and getUnsettledTransactionListRequest support to the SDK. Version 1.1.6
- Added the HTML version of the README to the distributed bundle. It was missing in version 1.1.5. Version 1.1.5
- Added HTML version of README. Version 1.1.4
- Updated the cert.pem bundle to include the new secure.authorize.net SSL certificate. Version 1.1.3
- Added more documentation
- Improved support for all Transaction Details API methods.
- Added support for the Card Present API.
- Added easier xpath support to XML Response class.
- Added ability to use DPM sample app with production account. Version 1.1.2
- Added getValidationResponses method to CIM Response for parsing the validation results when validating payment profiles.
- Added support for UpdateSplitTenderGroup method to CIM request.
- Bug fix. In CIM requests using validation mode the the validation mode element should have been added to the end of the request.
- Bug fix. In AIM Response class where $response->account_number was returning the wrong value.