PHPackages                             antonis0490/paysec - 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. antonis0490/paysec

ActiveLibrary[Payment Processing](/categories/payments)

antonis0490/paysec
==================

Paysec driver for the Omnipay payment processing library

175PHP

Since Mar 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/antonis0490/paysec)[ Packagist](https://packagist.org/packages/antonis0490/paysec)[ RSS](/packages/antonis0490-paysec/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Paysec: Paysec
==============

[](#paysec-paysec)

**Paysec driver for the Paysec PHP payment processing library**

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

[](#installation)

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

```
{
    "require": {
        "Paysec/paysec": "dev-master"
    }
}
```

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

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

[](#basic-usage)

To make a request:

```
use Omnipay\Omnipay;
use Omnipay\Paysec\Message\StatusCallback;

$gateway = Omnipay::create('Paysec');

$gateway->initialize(array(
    'clientId' => "your client id",
    'secret' => "your secret,
    'testMode' =>  // Or false when you are ready for live transactions
));

$options = array
(

    "header" => "3",
    "clientId" => "",
    "channelCode" => "BANK_TRANSFER",
    "notifyURL" => "",
    "returnURL" => "",
    "amount" => "",
    "orderTime" => (string)round(microtime(true) * 1000),
    "cartId" => "",
    "currency" => "",
    "email" => "",
    "name" => "",
    "lname" => ""

);

$transaction = $gateway->purchase($options);
$response = $transaction->send();
$resData = $response->getData();

```

Notify function:

```
$status = new StatusCallback($_REQUEST);

$secret = "";
$wallet = "";
$validSignature = "";

if ($validSignature && $status->isSuccessful()) {
    //sucess
} else if ($validSignature && $status->isPending()) {
    //pending
} else if ($validSignature) {
    //failed
} else {
    //error
}

```

The following gateways are provided by this package:

- Paysec

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6840786cae94e89dec37e8df86444903c7587b8602440f42a90eb9f6bf1e958e?d=identicon)[antonis0490](/maintainers/antonis0490)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/antonis0490-paysec/health.svg)

```
[![Health](https://phpackages.com/badges/antonis0490-paysec/health.svg)](https://phpackages.com/packages/antonis0490-paysec)
```

###  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)
