NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #5808 most downloaded on Packagist
Library that abstracts Authorize.Net's JSON APIs. This includes the Advanced Integration Method (AIM), Automated Recurring Billing (ARB), Customer Information Manager (CIM), Transaction Reporting, Simple Integration Method (SIM), and Webhooks.
Latest stable
4.3.0
Last release 6 months ago
21 May 2026
Ships unpredictably
gaps range from 3 weeks to 3.3 years
Nearly every release is documented
notes for 37 of 37 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
38 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
isHeld() method to AuthnetJsonResponse to easily get the status of held transactions.
Added
isHeld() method to AuthnetJsonResponse to easily get the status of held transactions.isTransactionError() method to AuthnetJsonResponse to easily get the status of transactions that encountered an error.isPayPalNeedConsent() method to AuthnetJsonResponse to easily get the status of PayPal transactions requiring consent.Changed
CHANGELOG to follow Keep a Changelog 1.1.0 format, including proper headers, sections, and improved formatting..editorconfig to be more explicit for certain file types, including PSR-12 for PHP.isHeld() method to AuthnetJsonResponse to easily get the status of held transactions..editorconfig to be more explicit for certain file types, including PSR-12 for PHP.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Added __set() and __isset() magic methods to JSON handling classes. Throws an exception if you try to set values in response objects. Small bug fixes.
Added __set() and __isset() magic methods to JSON handling classes. Throws an exception if you try to set values in response objects. Small bug fixes.
Minor bug fixes. Fixed webhook examples.
Minor bug fixes. Fixed webhook examples.
Bug Fix: Namespacing/autoloading
Bug Fix: Namespacing/autoloading
Bug fixes (see CHANGELOG), updated namespacing to be PSR-0/4 compliant, improved examples to show how more data is accessed
Bug fixes (see CHANGELOG), updated namespacing to be PSR-0/4 compliant, improved examples to show how more data is accessed
Fixed HTTP headers being incorrect and causing isValid() to incorrectly fail (thank you ericnicolaas). Added examples for ARBGetSubscriptionListReques
Fixed HTTP headers being incorrect and causing isValid() to incorrectly fail (thank you ericnicolaas). Added examples for ARBGetSubscriptionListRequest, ARBGetSubscriptionRequest, ARBCreateSubscriptionRequest (from Profile). Removed unnecessary proxy code in Exception classes.
Added support for Accept.js and Accept hosted
Added support for Accept.js and Accept hosted
PHP 7.2+ release. Lots of code clean up as a result of functionality made available with newer versions of PHP.
PHP 7.2+ release. Lots of code clean up as a result of functionality made available with newer versions of PHP.
Bumped supported PHP version to 7.2. Added support for prepaid cards.
Bumped supported PHP version to 7.2. Added support for prepaid cards.
Catches the PHP 5.6 branch of this package up to date with the master branch while maintaining PHP 5.6 compatibility.
Catches the PHP 5.6 branch of this package up to date with the master branch while maintaining PHP 5.6 compatibility.
Fixed HTTP headers being incorrect and causing isValid() to incorrectly fail (thank you ericnicolaas).
Fixed HTTP headers being incorrect and causing isValid() to incorrectly fail (thank you ericnicolaas).
Returned better error message when creating Webhook. Removed unnecessary suppression operators by checking if a variable is set in the __get() magic m
Returned better error message when creating Webhook. Removed unnecessary suppression operators by checking if a variable is set in the __get() magic method
Removed not actually missing return statement to AuthnetWebhooksRequest::delete. Reduced complexity of AuthnetApiFactory::getWebServiceURL(). Reduced
Removed not actually missing return statement to AuthnetWebhooksRequest::delete. Reduced complexity of AuthnetApiFactory::getWebServiceURL(). Reduced complexity of AuthnetWebhooksResponse::getEventTypes(). Reduced complexity of AuthnetWebhook::getAllHeaders()
Fixed incorrect and/or incomplete docblock comments. Added missing return statement to AuthnetWebhooksRequest::delete. Added ext-curl and ext-json to
Fixed incorrect and/or incomplete docblock comments. Added missing return statement to AuthnetWebhooksRequest::delete. Added ext-curl and ext-json to composer.json as dependencies. Minor formatting changes
Changed SIM algorithm to SHA512. Added FILTER_FLAG_ALLOW_THOUSAND when validating amount for SIM fingerprint. Added the requirements section to README
Changed SIM algorithm to SHA512. Added FILTER_FLAG_ALLOW_THOUSAND when validating amount for SIM fingerprint. Added the requirements section to README.md. Added notice about AuthnetJSON 4.0 PHP compatibility level changing. Used sprintf() for string formatting with variables. Minor formatting changes
Added and example of createCustomerProfileRequest creating multiple payment accounts. Added the HELP.md file to start tracking common problems and the
Added and example of createCustomerProfileRequest creating multiple payment accounts. Added the HELP.md file to start tracking common problems and their solutions. Improved getting HTTP headers when receiving a webhook.
Really fixed case sensitivity issue with HTTP header in Webhooks. Updated expiration dates in AIM examples
Really fixed case sensitivity issue with HTTP header in Webhooks. Updated expiration dates in AIM examples
Addressed case-sensitivity issue with Webhook HTTP header X-Anet-Signature
Addressed case-sensitivity issue with Webhook HTTP header X-Anet-Signature
Made third parameter of AuthnetWebhook::__construct() optional
Made third parameter of AuthnetWebhook::__construct() optional
Made providing headers when handling a webhook optional if apache_request_headers()/getallheaders() is available Throws an exception when no signature
Made providing headers when handling a webhook optional if apache_request_headers()/getallheaders() is available Throws an exception when no signature is provided
Added signature verification when receiving a webhook Show N/A when there is no request JSON when printing out response objects Got unit test coverage
Added signature verification when receiving a webhook Show N/A when there is no request JSON when printing out response objects Got unit test coverage back to 100%
Added support for webhooks Switched to use \Curl\Curl for all Curl requests Updated examples to use recent dates Cleaned up and improved some unit tes
Added support for webhooks Switched to use \Curl\Curl for all Curl requests Updated examples to use recent dates Cleaned up and improved some unit tests Converted some errant tabs to spaces Removed BETA notice from README
The Akamai endpoint is now the default
The Akamai endpoint is now the default
Exceptions extend AuthnetJson exception to allow for better error handling in client code Added AuthnetJsonResponse::getRawRequest to get raw JSON req
Exceptions extend AuthnetJson exception to allow for better error handling in client code Added AuthnetJsonResponse::getRawRequest to get raw JSON request sent to Authorize.Net Added AuthnetJsonResponse::getRawResponse to get raw JSON response returned from Authorize.Net Added getError(), getErrorCode(), and getErrorMessage() for easier error handling and logging Added support for the SIM API
Added examples for Paypal Express
Added examples for Paypal Express
Added examples for Verified by Visa
Added examples for Verified by Visa
Updated docblock comments and added phpdoc.xml to allow for better and easier to generate documentation
Updated docblock comments and added phpdoc.xml to allow for better and easier to generate documentation
Completed tests and example for UpdateSplitTenderGroup API call
Completed tests and example for UpdateSplitTenderGroup API call
Fixed potential bug in AuthnetJsonResponse::Fixed potential bug in checkTransactionStatus() and got unit test coverage back to 100%
Fixed potential bug in AuthnetJsonResponse::Fixed potential bug in checkTransactionStatus() and got unit test coverage back to 100%
Added support for the new Akamai endpoint
Added support for the new Akamai endpoint
Updated AuthnetJsonResponse::isApproved and AuthnetJsonResponse::isDeclined to work with AIM transactions Got unit test coverage to 100%
Updated AuthnetJsonResponse::isApproved and AuthnetJsonResponse::isDeclined to work with AIM transactions Got unit test coverage to 100%
Added AuthnetJsonResponse::isApproved and AuthnetJsonResponse::isDeclined to easily get status of CIM transactions
Added AuthnetJsonResponse::isApproved and AuthnetJsonResponse::isDeclined to easily get status of CIM transactions
Fixed fatal error caused by removing __set() parameters in AuthnetJsonRequest.php
Fixed fatal error caused by removing __set() parameters in AuthnetJsonRequest.php
Added functionality to retrieve transaction information for certain CIM API calls
Added functionality to retrieve transaction information for certain CIM API calls
Requests now return response objects.
Requests now return response objects.
Fixed bug where AuthnetInvalidJsonException would not be thrown when invalid JSON was returned
Fixed bug where AuthnetInvalidJsonException would not be thrown when invalid JSON was returned
Fixes a bug when initializing an AuthnetJson object resulting in the production server being selected when inappropriate.
Fixes a bug when initializing an AuthnetJson object resulting in the production server being selected when inappropriate.
Initial release of the Authnet-Json library
Initial release of the Authnet-Json library
One column per quarter.