PHPackages                             nikidze/omnipay-antilopay - 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. nikidze/omnipay-antilopay

ActiveLibrary[Payment Processing](/categories/payments)

nikidze/omnipay-antilopay
=========================

Antilopay gateway for Omnipay

0295PHP

Since Oct 3Pushed 8mo agoCompare

[ Source](https://github.com/Nikidze/omnipay-antilopay)[ Packagist](https://packagist.org/packages/nikidze/omnipay-antilopay)[ RSS](/packages/nikidze-omnipay-antilopay/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Omnipay: Antilopay
==================

[](#omnipay-antilopay)

Antilopay online acquiring support for Omnipay.

This repository is a fork of the original library  with some bug fixes.

[![Total Downloads](https://camo.githubusercontent.com/d2f3aeae4621211ab6c34c0aade2be7c8cae209020db7ef1017f533c4cd219cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e696b69647a652f6f6d6e697061792d616e74696c6f7061792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nikidze/omnipay-antilopay)[![Latest Version](https://camo.githubusercontent.com/aae646bc20e9f64417d3fb8b616f308f6e4a58d21dadf2a86e8f485c5bdc8aa0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e696b69647a652f6f6d6e697061792d616e74696c6f7061792e7376673f7374796c653d666c61742d737175617265)](https://github.com/nikidze/omnipay-antilopay/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Already Implemented
-------------------

[](#already-implemented)

- Payment creation
- Payment notifications

To Be Implemented
-----------------

[](#to-be-implemented)

- Payment information
- Payment cancellation
- Withdraw creation
- Withdraw information
- Refund creation
- Refund information
- Project balance
- Error codes

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

[](#installation)

```
composer require league/omnipay nikidze/omnipay-antilopay
```

Usage
-----

[](#usage)

### Gateway Initialization

[](#gateway-initialization)

```
// Create a new payment gateway
$gateway = Omnipay::create('Antilopay');

// Set the secret code
$gateway->setProjectId('PROJECT ID');
$gateway->setSecretId('SECRET ID');
// Antilopay uses RSA keys, so you need to make PEM inserts so that OpenSSL can distinguish it. It will be more efficient to load the key from a file.
$gateway->setSecretKey("-----BEGIN RSA PRIVATE KEY-----\nSECRET KEY\n-----END RSA PRIVATE KEY-----");
$gateway->setCallbackKey("-----BEGIN PUBLIC KEY-----\nCALLBACK KEY\n-----END PUBLIC KEY-----");
```

### Payment Creation

[](#payment-creation)

```
// Create a new payment for 100 rubles 00 kopecks
$purchaseRequest = $gateway->purchase([
  'amount' => 100,
  'orderId' => '1',
  'product_name' => 'Balance top-up',
  'product_type' => 'goods',
  'product_quantity' => 100,
  'vat' => 10,
  'description' => 'Balance top-up 1337 Cheats',
  'returnUrl' => 'https://leet-cheats.ru/payment/success',  // success_url
  'cancelUrl' => 'https://leet-cheats.ru/payment/fail',     // fail_url
  'customer' => new CustomerReference(
    email: 'customer-email@example.com',
    phone: '1234567890',
    address: '123 Customer Street',
    ip: '192.168.0.1',
    fullname: 'Customerov Customer Customerovich'
  ),
  'prefer_methods' => ['SBP', 'SBER_PAY', 'CARD_RU'],
]);
// alternative way to set data
$purchaseRequest->setAmount(100);
$purchaseRequest->setOrderId('1');
$purchaseRequest->setProductName('Balance top-up');
$purchaseRequest->setProductType('goods');
$purchaseRequest->setProductQuantity(100);
$purchaseRequest->setVat(10);
$purchaseRequest->setDescription('Balance top-up 1337 Cheats');
$purchaseRequest->setReturnUrl('https://leet-cheats.ru/payment/success');
$purchaseRequest->setCancelUrl('https://leet-cheats.ru/payment/fail');
$purchaseRequest->setCustomer(new CustomerReference(
  email: 'customer-email@example.com',
  phone: '1234567890',
  address: '123 Customer Street',
  ip: '192.168.0.1',
  fullname: 'Customerov Customer Customerovich'
));
$purchaseRequest->setPreferMethods(['SBP', 'SBER_PAY', 'CARD_RU']);

$purchaseResponse = $purchaseRequest->send();
if (!$purchaseResponse->isSuccessful()) {
  throw new Error($response->getMessage(), $response->getCode());
}

// Get the payment identifier in Antilopay
$invoiceId = $purchaseResponse->getTransactionId();
// Get the link to the Antilopay payment form
$redirectUrl = $purchaseResponse->getRedirectUrl();
```

### Payment Verification

[](#payment-verification)

```
$notification = $gateway->acceptNotification($data);
if (
  $notification->isValid() &&
  $notification->getTransactionStatus()
    === NotificationInterface::STATUS_COMPLETED
) {
  /** @var TransactionReference $transaction */
  $transaction = $notification->getTransactionReference();
  var_dump([
    $transaction->getOrderId(),
    $transaction->getAmount(),
    $transaction->getOriginalAmount(),
    $transaction->getFee(),
    $transaction->getCurrency(),
    $transaction->getProductName(),
    $transaction->getDescription(),
    $transaction->getPayMethod(),
    $transaction->getPayData(),
    $transaction->getCustomerIp(),
    $transaction->getCustomerUserAgent(),
  ]);

  $customer = $transaction->getCustomer();
  var_dump([
    $customer->getEmail(),
    $customer->getPhone(),
    $customer->getAddress(),
    $customer->getIp(),
    $customer->getFullname(),
  ]);
}
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance42

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/95da40763fefbfec208e354bb34d79e289c11c832a844ca8de77570339b886d9?d=identicon)[Nikidze](/maintainers/Nikidze)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/nikidze-omnipay-antilopay/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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