Authorize.net PHP SDK

, (*1)
An SDK for Authorize.net, using Guzzle., (*2)
Why not the official Authorize.net PHP SDK?
- Currently https://github.com/AuthorizeNet/sdk-php is licensed under a proprietary license.
- It is not PSR-4.
- Too many dependencies.
Dependencies
PHP version >= 7.3 is required., (*3)
The following PHP extensions are required:
* json
* simplexml
* xmlwrite, (*4)
This library uses Guzzle, v6 minimum., (*5)
Testing
PHPUnit
Run composer test, or ./vendor/bin/phpunit -c phpunit.xml.dist, (*6)
Test Credit Card Numbers
| Card Type |
Card Number |
| American Express |
370000000000002 |
| Discover |
6011000000000012 |
| Visa |
4007000000027 |
| 4012888818888 |
| 4111111111111111 |
| JCB |
3088000000000017 |
| Diners Club/ Carte Blanche |
38000000000006 |
| MasterCard |
5424000000000015 |
| 2223000010309703 |
| 2223000010309711 |
See the Authorize.Net Testing Guide for more information., (*7)
License
See the LICENSE file., (*8)