PHPackages                             ajbdev/payment-gateway-bundle - 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. ajbdev/payment-gateway-bundle

ActiveLibrary[Payment Processing](/categories/payments)

ajbdev/payment-gateway-bundle
=============================

This includes a single implementation for a connection to Authorize.NET AIM Service

0172PHP

Since Oct 24Pushed 13y ago1 watchersCompare

[ Source](https://github.com/ajbdev/payment-gateway-bundle)[ Packagist](https://packagist.org/packages/ajbdev/payment-gateway-bundle)[ RSS](/packages/ajbdev-payment-gateway-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Payment Gateway Bundle
======================

[](#payment-gateway-bundle)

This includes a single implementation for a connection to Authorize.NET AIM Service

Authorize.net
-------------

[](#authorizenet)

Sign up for a test account to get your test API Login ID and Transaction Key

### config.yml

[](#configyml)

```
payment_gateway.authorizenet:
    apiLoginId: xxxxxxxx
    transactionKey: xxxxxxxx
    postUrl: https://test.authorize.net/gateway/transact.dll

```

### Instantiate

[](#instantiate)

```
$gateway = $this->container->get('payment_gateway.authorizenet.config');

```

### Set Requirements

[](#set-requirements)

```
$gateway->setAddress($address);
$gateway->setAmount($amount);
$gateway->setPaymentMethod($creditCard);
$gateway->setOrder($order);

```

### Authorize or Capture

[](#authorize-or-capture)

```
$gateway->authorize();

or

$gateway->capture();

```

### Error Checking

[](#error-checking)

```
if ($gateway->hasErrors())
{
throw new \Exception($gateway->getErrorMessage());
}

```

### Get Response Data

[](#get-response-data)

```
$response = $gateway->getResponse();
$transactionId = $response->getTransactionId();
$code = $response->getResponseCodeText();
$type = $response->getTransactionType());

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b0842f020a6b6eb2158be81dd79dae672267fada8c073ee5861febfcbfbfbbe?d=identicon)[ajbdev](/maintainers/ajbdev)

---

Top Contributors

[![matthewfitz](https://avatars.githubusercontent.com/u/208401?v=4)](https://github.com/matthewfitz "matthewfitz (37 commits)")[![ornicar](https://avatars.githubusercontent.com/u/140370?v=4)](https://github.com/ornicar "ornicar (8 commits)")[![jseverson](https://avatars.githubusercontent.com/u/341435?v=4)](https://github.com/jseverson "jseverson (7 commits)")[![ajbdev](https://avatars.githubusercontent.com/u/572055?v=4)](https://github.com/ajbdev "ajbdev (6 commits)")[![AlexKovalevych](https://avatars.githubusercontent.com/u/577231?v=4)](https://github.com/AlexKovalevych "AlexKovalevych (5 commits)")[![avalanche123](https://avatars.githubusercontent.com/u/83289?v=4)](https://github.com/avalanche123 "avalanche123 (1 commits)")

### Embed Badge

![Health badge](/badges/ajbdev-payment-gateway-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ajbdev-payment-gateway-bundle/health.svg)](https://phpackages.com/packages/ajbdev-payment-gateway-bundle)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
