PHPackages                             tobelyan/omnipay-ameria - 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. tobelyan/omnipay-ameria

ActiveLibrary[Payment Processing](/categories/payments)

tobelyan/omnipay-ameria
=======================

Ameria Bank payment gateway using Omnipay library \[Laravel\]

0208PHP

Since Jun 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/tobelyan/omnipay-ameria)[ Packagist](https://packagist.org/packages/tobelyan/omnipay-ameria)[ RSS](/packages/tobelyan-omnipay-ameria/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: Ameria
===============

[](#omnipay-ameria)

**Ameria bank payment gateway driver**

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

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

[](#installation)

Omnipay installation is done using [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "tobelyan/omnipay-ameria": "dev-master"
    }
}
```

And run composer to update your dependencies:

```
composer update

```

Or you can simply run

```
composer require tobelyan/omnipay-ameria

```

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

[](#basic-usage)

1. Call Omnipay gateway class:

```
    use Omnipay\Omnipay;
```

1.1 Set your credentials in app.php (located in your conf directory) use code below

```
    'ameria' => [
        'clientId' => 'YourClientIdHere',
        'username' => 'YourUsernameHere',
        'password' => 'YourPasswordHere',
    ],
```

2. Initialize Ameria gateway:

```
     $gateway = Omnipay::create('Ameria');
     $gateway->setClientId(config('app.ameria.clientId'));
     $gateway->setUsername(config('app.ameria.username'));
     $gateway->setPassword(config('app.ameria.password'));
     $gateway->setCurrency('AMD'); //or USD, RUB
     $gateway->setTestMode('bool'); // set true or false
     $gateway->setParameter('returnUrl','return url here'); // e.g route('ameria.order.check')
     $gateway->setParameter('lang',\App::getLocale()); //or set am, ru
     $gateway->setParameter('OrderID',"123456"); // orderID from Bank
     $gateway->setParameter('amount',$order_amount); // price of product
     $gateway->setParameter('PaymentId',$order_id); // random generated numbers type int
     $gateway->setParameter('description',$description); // Description for your purchase
     $gateway->setParameter('transactionId',$order_id); // random generated numbers type int
     $purchase = $gateway->purchase()->send();
     if ($purchase->isRedirect()) {
         $purchase->redirect();
     }
```

3. Create a webhook to handle the callback request at your `returnUrl` and catch the webhook

```
    $gateway = Omnipay::create('Ameria');
    $gateway->setClientId(config('app.ameria.clientId'));
    $gateway->setUsername(config('app.ameria.username'));
    $gateway->setPassword(config('app.ameria.password'));

    $purchase = $gateway->completePurchase('paymentID')->send();

    if ($purchase->isSuccessful()) {
        // Your logic
    }

    return new Response('OK');
```

Information
-----------

[](#information)

In this package implemented AmeriaBank integration vPOS 3.0.

API interaction is performed via data exchange through Rest (except administration page: SOAP) .

For more information read ameria Bank documentation.

\##Developed by [DINEURON](https://dineuron.com.com/)

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 believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/tobelyan/omnipay-ameria/issues), or better yet, fork the library and submit a pull request.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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/dc76c9c13f7b15625bfd1225d4d3a116149b4bb1d711bb3d93c05850307e312c?d=identicon)[tobelyan](/maintainers/tobelyan)

---

Top Contributors

[![tobelyan](https://avatars.githubusercontent.com/u/6095639?v=4)](https://github.com/tobelyan "tobelyan (3 commits)")[![aurosystem](https://avatars.githubusercontent.com/u/60645222?v=4)](https://github.com/aurosystem "aurosystem (1 commits)")

### Embed Badge

![Health badge](/badges/tobelyan-omnipay-ameria/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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