PHPackages                             mkiyak/payconn-qnbfinansbank - 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. mkiyak/payconn-qnbfinansbank

ActiveLibrary[Payment Processing](/categories/payments)

mkiyak/payconn-qnbfinansbank
============================

QNB Finansbank payment processing library for PHP

00PHP

Since Mar 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mkiyak/payconn-qnbfinansbank)[ Packagist](https://packagist.org/packages/mkiyak/payconn-qnbfinansbank)[ RSS](/packages/mkiyak-payconn-qnbfinansbank/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://user-images.githubusercontent.com/12511137/80864283-581ea400-8c8a-11ea-8bdd-ea37da892af8.jpg)](https://user-images.githubusercontent.com/12511137/80864283-581ea400-8c8a-11ea-8bdd-ea37da892af8.jpg)

### Payconn: QNB Finansbank

[](#payconn-qnb-finansbank)

QNB Finansbank gateway for Payconn payment processing library / PHP 8 için güncellendi

 [![Build Status](https://camo.githubusercontent.com/54340bb376c2f621d6497e39a8a6dc11d4e32e67d7bbf043fd384cac2f997e8a/68747470733a2f2f7472617669732d63692e6f72672f61686d6574742f706179636f6e6e2d716e6266696e616e7362616e6b2e737667)](https://travis-ci.org/mkiyak/payconn-qnbfinansbank) [![Total Downloads](https://camo.githubusercontent.com/2eccf46b63f5699f8c8e825adf9685f4a51b176a6edba6b47f29aa5962f5fd48/68747470733a2f2f706f7365722e707567782e6f72672f61686d6574742f706179636f6e6e2d716e6266696e616e7362616e6b2f642f746f74616c2e737667)](https://packagist.org/packages/mkiyak/payconn-qnbfinansbank) [![Latest Stable Version](https://camo.githubusercontent.com/8dc21bee786fe62d4c89f3f722a0947fe0a1ebfc72090776c54c316da91dafca/68747470733a2f2f706f7365722e707567782e6f72672f61686d6574742f706179636f6e6e2d716e6266696e616e7362616e6b2f762f737461626c652e737667)](https://packagist.org/packages/mkiyak/payconn-qnbfinansbank) [![License](https://camo.githubusercontent.com/eed695c89bbafe1cce1146b6a54058dea9321a9f44007a9e70ac3a46d8e836a4/68747470733a2f2f706f7365722e707567782e6f72672f61686d6574742f706179636f6e6e2d716e6266696e616e7362616e6b2f6c6963656e73652e737667)](https://packagist.org/packages/mkiyak/payconn-qnbfinansbank)

---

**[Installation](#installation)**| **[Supported Methods](#supported-methods)**| **[Basic Usages](#basic-usages)**

---

[Payconn](https://github.com/payconn/common) is a framework agnostic, multi-gateway payment processing library for PHP. This package implements common classes required by Payconn.

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

[](#installation)

```
$ composer require mkiyak/payconn-qnbfinansbank

```

Supported Methods
-----------------

[](#supported-methods)

- **purchase** : authorize and immediately capture an amount
- **authorize** : authorize an amount on the customer's card
- **complete** : capture an amount you have previously authorized
- **refund** : refund an already processed transaction
- **cancel** : cancel an already processed transaction, this generally can only be called up to 24 hours after submitting a transaction

Basic Usages
------------

[](#basic-usages)

#### Purchase Action:

[](#purchase-action)

```
use Payconn\Common\CreditCard;
use Payconn\QNBFinansbank\Token;
use Payconn\QNBFinansbank\Currency;
use Payconn\QNBFinansbank\Model\Purchase;
use Payconn\QNBFinansbank;

$token = new Token('MERCHANT_ID', 'MERCHANT_PASS', 'USER_CODE', 'USER_PASS');
$creditCard = new CreditCard('NUMBER', 'EXPIRE_YEAR', 'EXPIRE_MONTH', 'CVV');
$purchase = new Purchase();

$purchase->setTestMode(true);
$purchase->setCurrency(Currency::TRY);
$purchase->setAmount(1);
$purchase->setInstallment(0);
$purchase->setCreditCard($creditCard);
$purchase->generateOrderId();

$response = (new QNBFinansbank($token))->purchase($purchase);

if ( $response->isSuccessful() ) {
    // success!
}
```

Take a look at *samples* folder for more usage examples.

Support
-------

[](#support)

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

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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/0fb117abc5ed067e342c42dead8c3cd71e6abda941906b60b6433f8da31fc0e8?d=identicon)[kyakmehmet](/maintainers/kyakmehmet)

---

Top Contributors

[![mkiyak](https://avatars.githubusercontent.com/u/65353042?v=4)](https://github.com/mkiyak "mkiyak (6 commits)")

### Embed Badge

![Health badge](/badges/mkiyak-payconn-qnbfinansbank/health.svg)

```
[![Health](https://phpackages.com/badges/mkiyak-payconn-qnbfinansbank/health.svg)](https://phpackages.com/packages/mkiyak-payconn-qnbfinansbank)
```

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