PHPackages                             pfeurean/authorizenet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. pfeurean/authorizenet

ActiveLibrary[Payment Processing](/categories/payments)

pfeurean/authorizenet
=====================

Official PHP SDK for Authorize.Net (with a BluePay Patch)

1.9.6a(8y ago)0531proprietaryPHPPHP &gt;=5.6

Since Mar 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pfeurean/sdk-php)[ Packagist](https://packagist.org/packages/pfeurean/authorizenet)[ Docs](http://github.com/pfeurean)[ RSS](/packages/pfeurean-authorizenet/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (27)Used By (0)

Authorize.Net PHP SDK
=====================

[](#authorizenet-php-sdk)

[![Travis CI Status](https://camo.githubusercontent.com/bac7dcdcf5b93e4f5fac3f4e8289e308c4f2d286835ea1f81c6520c544c7eb1d/68747470733a2f2f7472617669732d63692e6f72672f417574686f72697a654e65742f73646b2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AuthorizeNet/sdk-php)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/277bbebeade73dcc2e58b028610315f9de54d828cc29f132a3d79158ff3aef93/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f417574686f72697a654e65742f73646b2d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AuthorizeNet/sdk-php/?branch=master)[![Packagist](https://camo.githubusercontent.com/d08ce7f566bf7a54e4dffb755eccf5b76ed9b49b893979acff02cbb59fd0dcc8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617574686f72697a656e65742f617574686f72697a656e65742e737667)](https://packagist.org/packages/authorizenet/authorizenet)

Requirements
------------

[](#requirements)

- PHP 5.6+
- cURL PHP Extension
- JSON PHP Extension
- An Authorize.Net account (see *Registration &amp; Configuration* section below)
- TLS 1.2 capable versions of libcurl and OpenSSL (or its equivalent)

### TLS 1.2

[](#tls-12)

The Authorize.Net APIs only support connections using the TLS 1.2 security protocol. This SDK communicates with the Authorize.Net API using `libcurl` and `OpenSSL` (or equivalent crypto library). It's important to make sure you have new enough versions of these components to support TLS 1.2. Additionally, it's very important to keep these components up to date going forward to mitigate the risk of any security flaws that may be discovered in these libraries.

To test whether your current installation is capable of communicating to our servers using TLS 1.2, run the following PHP code and examine the output for the TLS version:

```
