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

ActiveLibrary[Payment Processing](/categories/payments)

konalexiou/omnipay-vivapayments
===============================

Viva Payments (Greece) driver for the Omnipay payment processing library

v2.0(8y ago)023MITPHPPHP &gt;=5.3.0

Since Jun 10Pushed 5y agoCompare

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

READMEChangelogDependencies (5)Versions (2)Used By (0)

Omnipay: VivaPayments
=====================

[](#omnipay-vivapayments)

**VivaPayments driver for the Omnipay PHP payment processing library**

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

[Viva Payments](https://www.vivawallet.com/en-us/company) is a licensed e-money institution for operations in the EEA-31 region by the Bank of Greece.

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply:

```
composer require konalexiou/omnipay-vivapayments

```

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

[](#basic-usage)

The following gateways are provided by this package:

- VivaPayments\_Redirect
- VivaPayments\_Native
- VivaPayments\_VivaWallet (not yet implemented)

All of these gateways use similar principles (REST) with many of the methods being common between the three gateways. I have therefore used an abstract RestGateway class to hold the common methods but this is not intended to be instantiated separately.

For general usage instructions, please see the main [Omnipay](https://github.com/omnipay/omnipay)repository.

Documentation
-------------

[](#documentation)

For all documentation, usage examples, etc, see the documentation in the class docblocks.

There is a copy of the documentation online here (not necessarily up to date):

### Quirks

[](#quirks)

- All payments are in Euros (EUR). No other currency is supported.
- Creating a purchase is a two step process. Firstly there needs to be an order created. Then, depending on the gateway (Redirect vs REST), either the customer is redirected to the gateway or further customer information is provided by a second REST call.
- Direct card payments are not supported. Either a JS plugin is required (Native gateway) which creates a card reference, or a redirect is required (Redirect gateway).
- It is impossible to tell from the gateway response whether the transaction requires a redirect or not. It's only possible to tell from the type of request made. So I have created separate gateway classes for the different types of purchase request (Native vs Redirect) which will return different types of response.
- When making a redirect payment, upon completion of the checkout form, the customer is redirected back to your website. The redirection URLs are defined in your vivapayments.com account under the Sources section. You cannot provide a per-transaction returnUrl or cancelUrl parameter to redirect each transaction to a different URL as can be done in some gateways.
- There is no separate void() method. The refund() method assumes a void() call is being made if it is within the same day as the transaction was created. In this case the refund amount must exactly equal the transaction amount.
- There is an authorize() transaction but there is no capture() transaction. Pre-authorized amounts stay on hold until they are cancelled or time out (up to 30 days).

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/delatbabel/omnipay-vivapayments/issues), or better yet, fork the library and submit a pull request.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

3259d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3148357?v=4)[Konstantinos Alexiou](/maintainers/konalexiou)[@konalexiou](https://github.com/konalexiou)

---

Top Contributors

[![delatbabel](https://avatars.githubusercontent.com/u/2335362?v=4)](https://github.com/delatbabel "delatbabel (17 commits)")[![konalexiou](https://avatars.githubusercontent.com/u/3148357?v=4)](https://github.com/konalexiou "konalexiou (3 commits)")

---

Tags

paymentpaymentsgatewaypaymerchantomnipayvivagreecevivapayments

### Embed Badge

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

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

PHPackages © 2026

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