PHPackages                             helloimdeadcat/magento2-xpay - 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. helloimdeadcat/magento2-xpay

ActiveMagento2-module[Payment Processing](/categories/payments)

helloimdeadcat/magento2-xpay
============================

XPAY payment gateway integration for Magento 2

v1.0.1(1mo ago)00MITPHPPHP ^8.1

Since Jul 11Pushed 1mo agoCompare

[ Source](https://github.com/helloimdeadcat/magento2-xpay)[ Packagist](https://packagist.org/packages/helloimdeadcat/magento2-xpay)[ Docs](https://github.com/helloimdeadcat/magento2-xpay)[ RSS](/packages/helloimdeadcat-magento2-xpay/feed)WikiDiscussions main Synced 1w ago

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

Stagem XPAY for Magento 2
=========================

[](#stagem-xpay-for-magento-2)

[![Packagist Version](https://camo.githubusercontent.com/5162d03f2b255ab42707b03e7246bbda1f1481c497be89cf930bc6206aaa6172/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68656c6c6f696d646561646361742f6d6167656e746f322d78706179)](https://packagist.org/packages/helloimdeadcat/magento2-xpay)[![Packagist Downloads](https://camo.githubusercontent.com/4121eab4b2bebf99465b412b8c4eabf4d06874e706a67d0d6ba0aca5ee6ca638/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68656c6c6f696d646561646361742f6d6167656e746f322d78706179)](https://packagist.org/packages/helloimdeadcat/magento2-xpay)[![License: MIT](https://camo.githubusercontent.com/e99d83851b07b51ca3d96a07f1f5c76498fd03119c844ad2515bc92b912cb3f7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f68656c6c6f696d646561646361742f6d6167656e746f322d78706179)](LICENSE.txt)

Magento 2 payment module for [XPAY](https://xpay.com.ua). After placing an order, the customer is redirected to the XPAY payment widget. Payment confirmation is handled via a REST callback.

Requirements
------------

[](#requirements)

- PHP 8.1+
- Magento 2.4.x
- OpenSSL

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

[](#installation)

### Composer (recommended)

[](#composer-recommended)

From your Magento 2 project root:

```
composer require helloimdeadcat/magento2-xpay:^1.0
bin/magento module:enable Stagem_Xpay
bin/magento setup:upgrade
bin/magento cache:flush
```

> **Note:** The Magento module code namespace is `Stagem\Xpay` (`Stagem_Xpay`). The Composer package name is `helloimdeadcat/magento2-xpay`.

### Composer (before Packagist registration)

[](#composer-before-packagist-registration)

If the package is not yet on [Packagist](https://packagist.org), add the GitHub repository to your Magento root `composer.json`:

```
"repositories": {
    "magento2-xpay": {
        "type": "vcs",
        "url": "https://github.com/helloimdeadcat/magento2-xpay"
    }
}
```

Then run `composer require helloimdeadcat/magento2-xpay:^1.0` as above.

### Manual

[](#manual)

1. Copy the module to `app/code/Stagem/Xpay`
2. Run:

```
bin/magento module:enable Stagem_Xpay
bin/magento setup:upgrade
bin/magento cache:flush
```

Configuration
-------------

[](#configuration)

Go to **Stores → Configuration → Sales → Payment Methods → Xpay** and configure:

FieldDescriptionXPAY API URLAPI base URL (default: `https://mapi.xpay.com.ua`)Xpay public keyPartner public key provided by XPAYPartner IDPartner ID provided by XPAYUser identified byIdentify the customer by email or phone numberReturn URLSuccess page path (default: `xpay/payment/success`)How it works
------------

[](#how-it-works)

1. The customer selects XPAY at checkout and places the order.
2. Magento redirects to `xpay/payment/checkout?order={id}`.
3. The module builds the XPAY widget URL and redirects the customer.
4. XPAY sends a callback to `GET /rest/V1/xpay/process-pay`.
5. The module validates the signature, creates an invoice, and sends the invoice email.
6. The customer is redirected back to the Magento success page.

Logging
-------

[](#logging)

Module events are written to `var/log/xpay.log`.

Changelog
---------

[](#changelog)

See [CHANGELOG.md](CHANGELOG.md).

License
-------

[](#license)

MIT — see [LICENSE.txt](LICENSE.txt).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

50d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea311e469fe03a09034f2f6a79a77733affd41c2f5ab848eee4f7296c614396e?d=identicon)[helloimdeadcat](/maintainers/helloimdeadcat)

---

Top Contributors

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

---

Tags

magento2magento2-modulepayment-gatewayxpaymagentopaymentcheckoutpayment gatewaymagento2ukrainexpay

### Embed Badge

![Health badge](/badges/helloimdeadcat-magento2-xpay/health.svg)

```
[![Health](https://phpackages.com/badges/helloimdeadcat-magento2-xpay/health.svg)](https://phpackages.com/packages/helloimdeadcat-magento2-xpay)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1162.0M19](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68365.7k](/packages/run-as-root-magento2-prometheus-exporter)[buckaroo/magento2

Buckaroo Magento 2 extension

32431.3k8](/packages/buckaroo-magento2)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2133.3k7](/packages/pagbank-payment-magento)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50413.8k27](/packages/dotdigital-dotdigital-magento2-extension)[yireo/magento2-emailtester2

Preview transactional emails and test send them in your backend

34452.5k](/packages/yireo-magento2-emailtester2)

PHPackages © 2026

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