PHPackages                             andchir/omnipay-bundle - 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. andchir/omnipay-bundle

ActiveSymfony-bundle[Payment Processing](/categories/payments)

andchir/omnipay-bundle
======================

Omnipay bundle for Symfony 4.x

1.0.23(5y ago)06183[2 issues](https://github.com/andchir/omnipay-bundle/issues)[3 PRs](https://github.com/andchir/omnipay-bundle/pulls)MITPHP

Since Jun 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/andchir/omnipay-bundle)[ Packagist](https://packagist.org/packages/andchir/omnipay-bundle)[ Docs](http://modx-shopkeeper.ru/)[ RSS](/packages/andchir-omnipay-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (5)Versions (28)Used By (0)

omnipay-bundle
==============

[](#omnipay-bundle)

Install:

```
composer require andchir/omnipay-bundle

```

Configuration:

```
omnipay:
    success_url: '/profile/history_orders'
    fail_url: '/'
    return_url: '/omnipay_return'
    notify_url: '/omnipay_notify'
    cancel_url: '/omnipay_cancel'
    data_keys:
        paymentId: ['orderNumber', 'Shp_TransactionId']
        customerEmail: ['customerNumber', 'Email', 'Shp_Client']
    gateways:
        PayPal_Express:
            parameters:
                username: xxxxxxxxxxxxx
                password: xxxxxxxxxxxxxxxxxx
                signature: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            purchase:
                username: ~
                password: ~
                signature: ~
                amount: AMOUNT
                currency: CURRENCY
                testMode: true
                returnUrl: NOTIFY_URL
                cancelUrl: CANCEL_URL
            complete:
                username: ~
                password: ~
                signature: ~
                amount: AMOUNT
                currency: CURRENCY
                testMode: true
                returnUrl: NOTIFY_URL
                cancelUrl: CANCEL_URL
        YandexMoney:
            parameters:
                shopid: xxxxxx
                scid: xxxxxx
                password: xxxxxxxxxxxxxxxxx
                customerNumber: CUSTOMER_EMAIL
                amount: AMOUNT
                orderId: PAYMENT_ID
                method: ~
                returnUrl: RETURN_URL
                cancelUrl: CANCEL_URL
            purchase:
                amount: AMOUNT
                currency: RUB
                receipt: ~
                testMode: true
            complete:
                shopid: ~
                scid: ~
                action: ~
                md5: ~
                orderNumber: PAYMENT_ID
                orderSumAmount: AMOUNT
                orderSumCurrencyPaycash: ~
                orderSumBankPaycash: ~
                invoiceId: ~
                customerNumber: CUSTOMER_EMAIL
                password: ~
        Sberbank:
            prefersAuthorize: true
            parameters:
                username: xxxxxxxxx
                password: xxxxxxxxx
                returnUrl: RETURN_URL
                cancelUrl: CANCEL_URL
            purchase:
                username: ~
                password: ~
                orderNumber: PAYMENT_ID
                amount: AMOUNT
                currency: RUB
                testMode: true
            complete:
                username: ~
                password: ~
                orderId: ~
        RoboKassa:
            parameters:
                purse: xxxxxx
                secretKey: xxxxxx
                secretKey2: xxxxxx
            purchase:
                purse: ~
                secretKey: ~
                amount: AMOUNT
                currency: CURRENCY
                currencyLabel: ~
                description: ~
                receipt: ~
                transactionId: PAYMENT_ID
                client: CUSTOMER_EMAIL
                testMode: true
            complete:
                purse: ~
                secretKey: ~
                secretKey2: ~

```

Example of use:

```
/** @var OmnipayService $omnipayService */
$omnipayService = $this->get('omnipay');

$gatewayName = 'PayPal_Express';
$omnipayService->create($gatewayName);

// Create payment
$payment = new Payment();
$payment
    ->setUserId(0)
    ->setEmail('aaa@bbb.cc')
    ->setOrderId(1)
    ->setCurrency('RUB')
    ->setAmount(500)
    ->setDescription('Order #12')
    ->setStatus(Payment::STATUS_CREATED)
    ->setOptions(['gatewayName' => $gatewayName]);

$dm->persist($payment);
$dm->flush();

$omnipayService->initialize($payment);

$omnipayService->sendPurchase($payment);

```

Developed for

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity73

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

Recently: every ~29 days

Total

24

Last Release

2073d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6392311?v=4)[Andrei](/maintainers/andchir)[@andchir](https://github.com/andchir)

---

Top Contributors

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

---

Tags

symfonybundlepaymentomnipayshopkeeper

### Embed Badge

![Health badge](/badges/andchir-omnipay-bundle/health.svg)

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

###  Alternatives

[payum/payum-bundle

One million downloads of Payum already! Payum offers everything you need to work with payments. Check more visiting site.

59510.3M40](/packages/payum-payum-bundle)[xola/omnipay-bundle

Integrates Omnipay 3 with Symfony 2+

1017.3k](/packages/xola-omnipay-bundle)[miracode/stripe-bundle

Symfony bundle to integrate Stripe PHP SDK. Ability to save Stripe objects in database using Doctrine.

1016.1k](/packages/miracode-stripe-bundle)

PHPackages © 2026

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