PackageTrack
Sign in Get early access

stymiee/authnetjson

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.

4.3.0 654K downloads/mo #4724 most downloaded on Packagist stymiee/authnetjson

What this package is like to depend on

Last release 3 months ago

21 May 2026

Ships unpredictably

gaps range from 3 weeks to 3.3 years

Nearly every release is documented

notes for 36 of 37 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

38 releases · first in 2015

1 release in the last 12 months

see the full history below

Release timeline

38 releases · Mar 2015 to May 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 38
  1. 4.3.0 21 May 2026
    Release notes

    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

    • Reformatted CHANGELOG to follow Keep a Changelog 1.1.0 format, including proper headers, sections, and improved formatting.
    • Updated .editorconfig to be more explicit for certain file types, including PSR-12 for PHP.
    Open source →
    Release notes

    Added

    • isHeld() method to AuthnetJsonResponse to easily get the status of held transactions.

    Changed

    • Reformatted CHANGELOG to follow Keep a Changelog 1.1.0 format
      • Added proper header with links to Keep a Changelog and Semantic Versioning
      • Added [Unreleased] section for future changes
      • Organized changes into clear sections (Added, Changed, Fixed, etc.)
      • Improved formatting and consistency of entries
      • Added proper punctuation and made descriptions more concise
      • Grouped related changes together
      • Maintained chronological order from newest to oldest
    • Updated .editorconfig to be more explicit for certain file types, including PSR-12 for PHP.
    Open source →
  2. 4.2.0 13 Feb 2023
    Release notes

    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.

    Open source →
    Release notes

    Added

    • __set() and __isset() magic methods to JSON handling classes. Throws an exception if you try to set values in response objects.

    Fixed

    • Minor bug in debugging code for webhooks.
    • Grammatical errors in comments.
    • Bug in getting webhook events.

    Changed

    • Cleaned up examples a bit more.
    Open source →
  3. 4.1.4 19 Dec 2020
    Release notes

    Minor bug fixes. Fixed webhook examples.

    Open source →
  4. 4.1.3 31 Aug 2020
    Release notes

    Bug Fix: Namespacing/autoloading

    Open source →
    Release notes

    Fixed

    • Namespacing issues and unit tests.
    Open source →
  5. 4.1.2 28 Aug 2020
    Release notes

    Bug fixes (see CHANGELOG), updated namespacing to be PSR-0/4 compliant, improved examples to show how more data is accessed

    Open source →
    Release notes

    Added

    • Ability to get results from multiple payment results as may be possible when creating multiple payment profiles.

    Fixed

    • Potential bug where getting a transaction response would fail and cause transactions appear to not be approved.

    Changed

    • Updated namespacing to be PSR-0/4 compliant.
    • Improved example to show how more data is accessed.
    • Cleaned up unit tests a bit.
    • Minor code clean up.
    Open source →
  6. 4.1.1 22 Jun 2020
    Release notes

    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.

    Open source →
    Release notes

    Added

    • Examples for ARBGetSubscriptionListRequest, ARBGetSubscriptionRequest, ARBCreateSubscriptionRequest (from Profile).

    Fixed

    • HTTP headers being incorrect and causing isValid() to incorrectly fail.

    Removed

    • Unnecessary proxy code in Exception classes.
    Open source →
  7. 4.1.0 29 May 2020
    Release notes

    Added support for Accept.js and Accept hosted

    Open source →
    Release notes

    Added

    • Support for Accept.js and Accept Hosted APIs.
    • SECURITY.md to project.

    Changed

    • Cleaned up the examples even more.
    • Minor code clean up.
    Open source →
  8. 4.0.0 08 May 2020
    Release notes

    PHP 7.2+ release. Lots of code clean up as a result of functionality made available with newer versions of PHP.

    Open source →
    Release notes

    Changed

    • Changed name of Akamai endpoint to be more generic and accurate (CDN); includes tests.
    • Minor fixes for examples.
    • Changed config.inc.php to throw RuntimeException.
    • Master branch will now support PHP 7.2+. PHP 5.6+ has been moved to its own branch.
    Open source →
  9. 4.0.0-beta 08 Mar 2020 pre-release
    Release notes

    Added

    • AuthnetJson::BOUNDLESS_OCCURRENCES to indicate an endless subscription.
    • Support for prepaid cards.
    • Constructor to Authnet exceptions.
    • CONTRIBUTING.md.
    • Shiny badges for the README.

    Changed

    • Bumped minimum supported version of PHP to 7.2.
    • If trying to retrieve non-existent response value, NULL is returned in AuthnetJsonResponse::__get().
    • Updated unit tests for phpunit 8.
    • Removed unneeded require of config file in unit tests.
    • Added phpunit to require-dev.
    • Cleaned up HTML and CSS in examples.
    • Minor formatting changes.

    Removed

    • Unused AuthnetInvalidParameterException class.
    Open source →
  10. 3.2.0 16 Feb 2023
    Release notes

    Catches the PHP 5.6 branch of this package up to date with the master branch while maintaining PHP 5.6 compatibility.

    Open source →
  11. 3.1.10 18 Jun 2020
    Release notes

    Fixed HTTP headers being incorrect and causing isValid() to incorrectly fail (thank you ericnicolaas).

    Open source →
  12. 3.1.9 04 Jun 2019
    Release notes

    Changed

    • Returned better error message when creating Webhook.
    • Removed unnecessary suppression operators by checking if a variable is set in the __get() magic method.
    Open source →
  13. 3.1.8 27 Jan 2019
    Release notes

    Changed

    • Removed not actually missing return statement to AuthnetWebhooksRequest::delete.
    • Reduced complexity of AuthnetApiFactory::getWebServiceURL().
    • Reduced complexity of AuthnetWebhooksResponse::getEventTypes().
    • Reduced complexity of AuthnetWebhook::getAllHeaders().
    Open source →
  14. 3.1.7 23 Jan 2019
    Release notes

    Added

    • Missing return statement to AuthnetWebhooksRequest::delete.
    • ext-curl and ext-json to composer.json as dependencies.

    Fixed

    • Incorrect and/or incomplete docblock comments.

    Changed

    • Minor formatting changes.
    Open source →
  15. 3.1.6 22 Jan 2019
    Release notes

    Added

    • FILTER_FLAG_ALLOW_THOUSAND when validating amount for SIM fingerprint.
    • Requirements section to README.md.
    • Notice about AuthnetJSON 4.0 PHP compatibility level changing.

    Changed

    • Changed SIM algorithm to SHA512.
    • Used sprintf() for string formatting with variables.
    • Minor formatting changes.
    Open source →
  16. 3.1.5 02 Jan 2019
    Release notes

    Added

    • Examples/cim/createCustomerProfileRequestMultiplePayAccounts.php to demonstrate adding multiple payment accounts.
    • HELP.md file.
    • Unit test for AuthnetWebhook::getAllHeaders().

    Changed

    • Updated all usage of array() to [].
    • Updated unit tests for PHPUnit 7.
    • Updated AuthnetWebhook::__constructor() to use AuthnetWebhook::getAllHeaders() instead of going straight to apache_get_headers().
    • Converted tabs to spaces!
    Open source →
  17. 3.1.4 22 Jan 2018
    Release notes

    Fixed

    • Really fixed case sensitivity issue with HTTP header in Webhook.

    Changed

    • Updated expiration dates in AIM examples.
    Open source →
  18. 3.1.3 28 Dec 2017
    Release notes

    Fixed

    • Case sensitivity issue with HTTP header in Webhook.
    Open source →
  19. 3.1.2 06 Sep 2017
    Release notes

    Changed

    • Made third parameter of AuthnetWebhook::__construct() optional.
    Open source →
  20. 3.1.1 30 Aug 2017
    Release notes

    Added

    • Made providing headers when handling a webhook optional if apache_request_headers()/getallheaders() is available.

    Changed

    • Throws an exception when no signature is provided.
    Open source →
  21. 3.1.0 29 Aug 2017
    Release notes

    Added

    • Signature verification when receiving a webhook.

    Changed

    • Show N/A when there is no request JSON when printing out response objects.
    • Got unit test coverage back to 100%.
    Open source →
  22. 3.0.0 20 Mar 2017
    Release notes

    Added

    • Support for webhooks.

    Changed

    • 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.
    Open source →
  23. 2.5.1 09 Jun 2016
    Release notes

    Changed

    • Uses the Akamai endpoint by default.
    Open source →
  24. 2.5.0 11 Sep 2015
    Release notes

    Added

    • AuthnetJsonResponse::getRawRequest to get raw JSON request sent to Authorize.Net.
    • AuthnetJsonResponse::getRawResponse to get raw JSON response returned from Authorize.Net.
    • getError(), getErrorCode(), and getErrorMessage() for easier error handling and logging.
    • Support for the SIM API.

    Changed

    • Exceptions extend AuthnetJson exception to allow for better error handling in client code.
    Open source →
  25. 2.4.5 27 Aug 2015
    Release notes

    Added

    • Examples for PayPal Express.
    Open source →
  26. 2.4.4 26 Aug 2015
    Release notes

    Added

    • Examples for Verified by Visa.
    Open source →
  27. 2.4.3 22 Aug 2015
    Release notes

    Changed

    • Updated docblock comments and added phpdoc.xml to allow for better and easier to generate documentation.
    Open source →
  28. 2.4.2 17 Aug 2015
    Release notes

    Added

    • Completed unit test for UpdateSplitTenderGroup API call.
    Open source →
  29. 2.4.1 14 Aug 2015
    Release notes

    Fixed

    • Potential bug in AuthnetJsonResponse::checkTransactionStatus().
    • Got unit test coverage back to 100%.
    Open source →
  30. 2.4.0 09 Aug 2015
    Release notes

    Added

    • Support for the new Akamai endpoint.
    Open source →
  31. 2.3.0 16 Jul 2015
    Release notes

    Changed

    • Updated AuthnetJsonResponse::isApproved and AuthnetJsonResponse::isDeclined to work with AIM transactions.
    • Got unit test coverage to 100%.
    Open source →
  32. 2.2.0 30 May 2015
    Release notes

    Added

    • AuthnetJsonResponse::isApproved and AuthnetJsonResponse::isDeclined to easily get status of CIM transactions.
    Open source →
  33. 2.1.1 09 May 2015
    Release notes

    Fixed

    • Fatal error caused by removing __set() parameters.
    Open source →
  34. 2.1.0 05 May 2015
    Release notes

    Added

    • Transaction data returned in some CIM API calls can now be accessed easily.
    Open source →
  35. 2.0.0 28 Apr 2015
    Release notes

    Changed

    • Requests now return response objects.
    Open source →
  36. 1.0.2 18 Apr 2015
    Release notes

    Fixed

    • Bug where AuthnetInvalidJsonException would not be thrown when invalid JSON was returned.
    Open source →
  37. 1.0.1 30 Mar 2015
    Release notes

    Added

    • More unit tests.
    • More docbloc comments.

    Fixed

    • Bug where setting the third parameter AuthnetApiFactory::getJsonApiHandler to NULL would default to production endpoint.
    • Throws AuthnetInvalidJsonException if response JSON is not valid.

    Changed

    • Finished adding examples.
    Open source →
  38. 1.0.0 21 Mar 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive