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

ActiveLibrary[Payment Processing](/categories/payments)

eonlab/omnipay-eupago
=====================

euPago integration in omnipay

2.1.0(6y ago)041MITPHP

Since Mar 19Pushed 6y agoCompare

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

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

Eupago - euPago integration in omnipay
======================================

[](#eupago---eupago-integration-in-omnipay)

**This is the euPago solution for omnipay payment processing library**

Eupago is one Portuguese payment gateway that has multiple methods available. For use it you need create one account in [euPago](https://www.eupago.pt/) website. Once installed and configured you are able to use all the features of our [API](https://seguro.eupago.pt/api/).

Instalation
-----------

[](#instalation)

For instalation details please check the [omnipay](https://github.com/thephpleague/omnipay#installation) git page.

Implemented Payment Methods
---------------------------

[](#implemented-payment-methods)

- **Multibanco** - Create MB references with and without start/end date, minimum/maximum amount support (just set the respective parameters)
- **MBWay** - MBWay payment system
- **PayShop**
- **Pagaqui**

###### Future implementations:

[](#future-implementations)

- **Credit Card**

Required fields
---------------

[](#required-fields)

- 'apiKey' - to generate your api key please [create an account](https://eupago.pt/registo) on their website
- 'currency' - currency is required and must be 'EUR' or '€'
- 'amount' - Purchase amount
- 'transactionId' - usually this is the order ID

Examples
--------

[](#examples)

#### Create Multibanco reference

[](#create-multibanco-reference)

```
$gateway = Omnipay::create('Eupago_Multibanco');

// required fields
$gateway->setApiKey('xxx-xxx-xxx-xxx');
$gateway->setCurrency('EUR');
$gateway->setTransactionId('xxxxx');
// Optionally with start/end date
$gateway->setStartDate(new \DateTime);
$gateway->setEndDate((new \DateTime)->modify('48 hours'));

$response = $gateway->purchase(['amount' => '10.00'])->send();

if ($response->isSuccessful()) {
	// return the euPago api response with payment credentials
	// see src/Message/MultibancoResponse.php methods for more information
	$paymentData = $response->getData();

	// return the Transaction Reference
	// the transaction Reference is required for call the status of payment, you should store them in your "orders" table related database
	$referenceId = $response->getTransactionReference();
} else {
    // Transaction creation failed: display message to customer
    echo $response->getMessage();
}
```

#### Check Multibanco reference status

[](#check-multibanco-reference-status)

```
$gateway = Omnipay::create('Eupago_Multibanco');

// The transaction reference is required
$paymentStatus = $gateway->checkStatus([
	'transactionReference' => 'xxxxxx'
])->send();

if ($paymentStatus->isPaid()) {
    // payment was successful: update database
} else {
    // payment failed: display message to customer
    echo $paymentStatus->getMessage();
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 76.9% 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 ~589 days

Total

2

Last Release

2384d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3563f33036adb1096f3b1bb41a205fcbcb7b8d88b9559e963e6c4a53024cd984?d=identicon)[eonlab](/maintainers/eonlab)

---

Top Contributors

[![sergiodlopes](https://avatars.githubusercontent.com/u/444252?v=4)](https://github.com/sergiodlopes "sergiodlopes (10 commits)")[![eonlab](https://avatars.githubusercontent.com/u/11805908?v=4)](https://github.com/eonlab "eonlab (3 commits)")

---

Tags

paymentgatewaypaymerchantomnipaymultibancombwayEupagopagaquipayshop

### Embed Badge

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

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

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