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

ActiveLibrary[Payment Processing](/categories/payments)

mvestil/omnipay-rocketgate
==========================

RocketGate driver for the Omnipay payment processing library

1.2.1(6y ago)12081[1 issues](https://github.com/mvestil/omnipay-rocketgate/issues)MITPHP

Since Aug 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mvestil/omnipay-rocketgate)[ Packagist](https://packagist.org/packages/mvestil/omnipay-rocketgate)[ Docs](https://github.com/mvestil/omnipay-rocketgate)[ RSS](/packages/mvestil-omnipay-rocketgate/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (2)Versions (8)Used By (0)

omnipay-rocketgate
==================

[](#omnipay-rocketgate)

Omnipay driver for RocketGate Gateway

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements PaymentWall support for Omnipay.

[RocketGate](https://www.rocketgate.com/) is an industry leader in transaction processing. RocketGate's secure, fault-tolerant and reliable payment processing platform includes a suite of sophisticated features including chargeback processing, risk management, advanced processing and merchant support tools. RocketGate's platform is engineered to be fast, customizable and profitable for our business partners.

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

[](#installation)

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

```
{
    "require": {
        "mvestil/omnipay-rocketgate": "~1.1"
    }
}
```

And run composer to update your dependencies:

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

```

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

[](#basic-usage)

The following transactions are provided by this package via the REST API:

- Card Payment
- Token Payment
- Refund
- Void
- 3DSecure

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository. There are also examples in the class API documentation.

Test modes
----------

[](#test-modes)

You must pass testMode=true to this package in order to make test payments

Authentication
--------------

[](#authentication)

To call RocketGate Payments API, merchant id and merchant password is required and will be passed via RocketGate's PHP SDK. You can get these values from RocketGate itself can be seen in their admin portal.

Usage
-----

[](#usage)

```
// Initialize the gateway
$gateway = Omnipay::create('RocketGate');
$gateway->initialize(array(
  'merchantID'       => 'XXXXXXXXXXXX',
  'merchantPassword' => 'XXXXXXXXXXXX',
  'testMode'         => true,
));

// Create a credit card object
$card = new CreditCard(array(
  'firstName'       => 'Example',
  'lastName'        => 'Customer',
  'number'          => '4242424242424242',
  'expiryMonth'     => '01',
  'expiryYear'      => '2032',
  'cvv'             => '123',
  'email'           => 'customer@example.com',
  'billingAddress1' => 'Consolacion, Cebu',
  'billingCountry'  => 'PH',
  'billingCity'     => 'Philippines',
  'billingPostcode' => '567278',
  'billingState'    => 'Philippines',
));

// Do a purchase transaction on the gateway
$transactorId = random_int(0, 1000000000);
$transaction = $gateway->purchase(array(
  'amount'        => '50.00',
  'currency'      => 'USD',
  'card'          => $card,
  'transactorId'  => $transactorId,
  'transactionId' => random_int(0, 1000000000),
));

$response = $transaction->send();
if ($response->isSuccessful()) {
  echo "Purchase transaction was successful!\n";
  $token = $response->getCardReference();
  echo "Card reference = " . $token . "\n";
}

// Do a token transaction on the gateway
$transaction = $gateway->purchase(array(
    'amount'        => '50.0',
    'currency'      => 'USD',
    'transactorId'  => $transactorId,
    'transactionId' => random_int(0, 1000000000),
    'cardReference' => $response->getCardReference(),
));

```

TODO
----

[](#todo)

- Unit Testing

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.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~13 days

Total

5

Last Release

2421d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c7775c886bd91ccdae5f73c6a45faac54f4bc7e0c2b67a2a95b877f99d2540b?d=identicon)[mbvestil](/maintainers/mbvestil)

---

Top Contributors

[![mvestil](https://avatars.githubusercontent.com/u/7252738?v=4)](https://github.com/mvestil "mvestil (28 commits)")

---

Tags

paymentgatewaypaymerchantomnipayrocketgate

### Embed Badge

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

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

###  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)
