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

ActiveLibrary

tobelyan/omnipay-arca
=====================

ARCA Payment Gateways for ACBA,ASHIB,INECO and other arca.am partner banks \[Laravel\] with CardBinding

4177PHP

Since Oct 18Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: ARCA
=============

[](#omnipay-arca)

**arca driver for the Omnipay Laravel payment processing library**

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

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

[](#installation)

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

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

And run composer to update your dependencies:

```
composer update

```

Or you can simply run

```
composer require tobelyan/omnipay-arca

```

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

[](#basic-usage)

1. Use Omnipay gateway class:

```
    use Omnipay\Omnipay;
```

2. Initialize ARCA gateway:

```
    $gateway = Omnipay::create('Arca');
    $gateway->setUserName(env('username'));
    $gateway->setPassword(env('password'));
    $gateway->setParameter('language',\App::getLocale()); // Language
    $gateway->setParameter('amount',10); // Amount to charge
    $gateway->setParameter('TransactionId',XXXX); // Transaction ID from your system
```

3. Call purchase, it will automatically redirect to ARCA's hosted page

```
    $purchase = $gateway->purchase()->send();

    $purchase->redirect();
```

4. Here we should get callback url to check status, e.g

```
public function checkStatus(Request $request) {
    $orderId = $request->orderId;
    //then make a request
    $gateway = Omnipay::create('Arca');
    $gateway->setUserName(env('username'));
    $gateway->setPassword(env('password'));
    $purchase = $gateway->getOrderStatus(['transactionId' => $request->orderId])->send();
    if($purchase->isSuccessful()) {
        //your logic
    }
}
```

Card Binding

Add these methods to your logic

```
    $gateway->setParameter('clientId', auth()->user()->id);
    $gateway->setParameter('bindingPayment',true);
    $gateway->setParameter('bindingId',$card->bindingId);

    //Send Binding info using these methods
    $gateway->setParameter('mdOrder',$orderId);
    $purchase = $gateway->makeBindingPayment()->send();
    //then send Redirection
    if ($purchase->isRedirect()) {
        $purchase->redirect();
    }
```

Data you will get after payment

```
$purchaseData = [
    'user_id'=>auth()->user()->id,
    'expiration'=>$purchase->getData()['cardAuthInfo']['expiration'],
    'cardholderName'=>$purchase->getData()['cardAuthInfo']['cardholderName'],
    'approvalCode'=>$purchase->getData()['cardAuthInfo']['approvalCode'],
    'pan'=>$purchase->getData()['cardAuthInfo']['pan'],
    'clientId'=>$purchase->getData()['bindingInfo']['clientId'],
    'bindingId'=>$purchase->getData()['bindingInfo']['bindingId'],
    'secure_hash'=>md5($purchase->getData()['cardAuthInfo']['pan'])
];
```

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository.

Developed BY [DINEURON](https://dineuron.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 want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/thephpleague/omnipay-idram/issues), or better yet, fork the library and submit a pull request.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 70% 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

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

### Embed Badge

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

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

PHPackages © 2026

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