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

ActiveLibrary[Payment Processing](/categories/payments)

digitickets/omnipay-payyo
=========================

Payyo Gateway for the Omnipay payment processing library

3.0.1.1(3y ago)023.8k↓70.4%MITPHPPHP ^7.2

Since Oct 27Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/digitickets/omnipay-payyo)[ Packagist](https://packagist.org/packages/digitickets/omnipay-payyo)[ Docs](https://developers.payyo.ch)[ RSS](/packages/digitickets-omnipay-payyo/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (6)Versions (21)Used By (0)

Omnipay: Payyo
==============

[](#omnipay-payyo)

**Payyo Gateway for the Omnipay PHP payment processing library.**

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

The Payyo Omnipay library requires PHP 7.0+.

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

[](#installation)

Omnipay can be installed using [Composer](https://getcomposer.org/). [Installation instructions](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).

Run the following command to install omnipay and the Payyo gateway:

```
composer require digitickets/omnipay-payyo

```

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

[](#basic-usage)

The following parameters are required:

- `apiKey` Your Payyo API/public key
- `secretKey` Your Payyo secret key
- `merchantId` Your Payyo merchant ID

```
$gateway = Omnipay::create('Payyo');
$gateway->setApiKey('api_...');
$gateway->setSecretKey('sec_...');
$gateway->setMerchantId('1234');
$gateway->setTestMode(true);

// Send purchase request
$response = $gateway->purchase([
    'transactionId' => '123456',
    'description' => '1x Book',
    'amount' => '10.00',
    'currency' => 'USD',
    'paymentMethods' => ['credit_card'],
    'returnUrl' => 'https://example.org/success',
    'cancelUrl' => 'https://example.org/abort',
])->send();

// This is a redirect gateway, so redirect right away
$response->redirect();
```

Requests
--------

[](#requests)

### Purchase

[](#purchase)

- **purchase()** calls `paymentPage.initialize`, then you should redirect
- **completePurchase()** calls `transaction.getNextAction` and (if necessary) `transaction.capture`

### Authorize + Capture

[](#authorize--capture)

- **authorize()** calls `paymentPage.initialize`, then you should redirect
- **completeAuthorize()** calls `transaction.getDetails`
- **capture()** calls `transaction.getNextAction` and (if necessary) `transaction.capture`

### Void/Refund

[](#voidrefund)

- **void()** calls `transaction.void`
- **refund()** calls `transaction.refund`

Testing
-------

[](#testing)

You can run `docker-compose up` and then go to `http://localhost:8086/` to make a test payment against the Sandbox.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance44

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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 ~196 days

Recently: every ~282 days

Total

16

Last Release

227d ago

Major Versions

1.0.2 → 2.0.02017-10-31

2.0.2 → 3.0.02020-09-10

2.1.0 → 3.0.1.12022-09-15

PHP version history (2 changes)1.0.0PHP ^7

3.0.0PHP ^7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23523887?v=4)[DigiTickets](/maintainers/DigiTickets)[@digitickets](https://github.com/digitickets)

---

Top Contributors

[![bigwhoop](https://avatars.githubusercontent.com/u/242589?v=4)](https://github.com/bigwhoop "bigwhoop (14 commits)")[![jamesgarton](https://avatars.githubusercontent.com/u/83950544?v=4)](https://github.com/jamesgarton "jamesgarton (2 commits)")[![bakurin](https://avatars.githubusercontent.com/u/3139385?v=4)](https://github.com/bakurin "bakurin (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypayyo

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

586422.8k11](/packages/lokielse-omnipay-alipay)[omnipay/mollie

Mollie driver for the Omnipay payment processing library

631.8M10](/packages/omnipay-mollie)[sudiptpa/omnipay-nabtransact

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

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

MercadoPago gateway for OmniPay

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

PHPackages © 2026

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