PHPackages                             cardgate/omnipay-cardgate - 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. cardgate/omnipay-cardgate

ActiveLibrary[Payment Processing](/categories/payments)

cardgate/omnipay-cardgate
=========================

Cardgate gateway for the Omnipay payment processing library

v3.0.0(6y ago)239.9k8[3 issues](https://github.com/cardgate/omnipay-cardgate/issues)[1 PRs](https://github.com/cardgate/omnipay-cardgate/pulls)1MITPHP

Since Jun 5Pushed 5y ago5 watchersCompare

[ Source](https://github.com/cardgate/omnipay-cardgate)[ Packagist](https://packagist.org/packages/cardgate/omnipay-cardgate)[ RSS](/packages/cardgate-omnipay-cardgate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (1)

[![CardGate](https://camo.githubusercontent.com/3b287f1d711d5a554998611df7d04b1617a981becee9147d6698c5cae6c2d183/68747470733a2f2f63646e2e6375726f7061796d656e74732e6e65742f7468756d622f3230302f6c6f676f732f63617264676174652e706e67)](https://camo.githubusercontent.com/3b287f1d711d5a554998611df7d04b1617a981becee9147d6698c5cae6c2d183/68747470733a2f2f63646e2e6375726f7061796d656e74732e6e65742f7468756d622f3230302f6c6f676f732f63617264676174652e706e67)

CardGate plugin for [Omnipay](https://github.com/omnipay/omnipay)
=================================================================

[](#cardgate-plugin-for-omnipay)

[![Total Downloads](https://camo.githubusercontent.com/eb7437c14adde0c6c65d81cd2553092c3087a2e464e4253211cd51fd0614f2f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63617264676174652f6f6d6e697061792d63617264676174652e737667)](https://packagist.org/packages/cardgate/omnipay-cardgate)[![Latest Version](https://camo.githubusercontent.com/4e58cdeeea7625b8d72573571f7321000bc48afd1a4f68d2b4663a53b6b7e9c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63617264676174652f6f6d6e697061792d63617264676174652e737667)](https://github.com/cardgate/omnipay-cardgate/releases)[![Build Status](https://camo.githubusercontent.com/4d4d8cb0dce3f3434ba60c3849822af3e64296a0b2d29f6215886ae9f5a1c9f5/68747470733a2f2f7472617669732d63692e6f72672f63617264676174652f6f6d6e697061792d63617264676174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cardgate/omnipay-cardgate)

Installation
------------

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "cardgate/omnipay-cardgate": "~3.0"
    }
}
```

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

Basic Usage
-----------

[](#basic-usage)

The following gateways are provided by this package:

- Cardgate

For general usage instructions, please see the main [Omnipay](https://github.com/omnipay/omnipay)repository. See also the [Cardgate RESTFul Documentation](https://www.curopayments.com/docs/api/?rest_Introduction)

Example
-------

[](#example)

```
	$gateway = Omnipay::create( 'Cardgate' );
	$gateway->initialize(
		array(
				'siteId' => '',
				'merchantId' => '',
				'apiKey' => '',
				'notifyUrl' => '',
				'returnUrl' => '',
				'cancelUrl' => '',
				'testMode' =>
		) );

	// Start the purchase

	$response = $gateway->purchase(
 		array(
 				'paymentMethod' => '',
 				'issuer' => ,
 				'description' => "Test description.",
 				'transactionReference' => 'TEST_TransactionReference_000123_mustBeUnique',
 				'amount' => '10.00',
 				'currency' => 'EUR',
 				'ipaddress' => '10.10.10.10'
 		) )->send();

    if ( $response->isSuccessful() ) {
        // payment was successful: update database
        print_r( $response );
    } elseif ( $response->isRedirect() ) {
        // redirect to offsite payment oGateway
        $response->redirect();
    } else {
        // payment failed: display message to customer
        echo $response->getMessage();
    }
```

**Use the fetchIssuers response to see the available issuers**

```
$response = $oGateway->fetchIssuers()->send();
if($response->isSuccessful()){
    $oIssuers = $response->getIssuers();
}
```

The billing/shipping data are set with the `card` parameter, with an array or [CreditCard object](https://github.com/omnipay/omnipay#credit-card--payment-form-input).

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/Cardgate/omnipay-cardgate/issues).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 58.1% 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.

###  Release Activity

Cadence

Every ~849 days

Total

3

Last Release

2302d ago

Major Versions

v2.0.1 → v3.0.02020-01-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/54ea1ff3141c9692381b420394b32bbbc2112bec61981d65f7e2a088a0cbfd9f?d=identicon)[cardgate](/maintainers/cardgate)

---

Top Contributors

[![cardgate](https://avatars.githubusercontent.com/u/11666729?v=4)](https://github.com/cardgate "cardgate (25 commits)")[![RichardCardGate](https://avatars.githubusercontent.com/u/6303207?v=4)](https://github.com/RichardCardGate "RichardCardGate (18 commits)")

---

Tags

paymentgatewaypaymerchantomnipaycardgate

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/cardgate-omnipay-cardgate/health.svg)

```
[![Health](https://phpackages.com/badges/cardgate-omnipay-cardgate/health.svg)](https://phpackages.com/packages/cardgate-omnipay-cardgate)
```

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1017.2k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

154.6k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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