PHPackages                             yasinkuyu/omnipay-paratika - 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. yasinkuyu/omnipay-paratika

ActiveLibrary[Payment Processing](/categories/payments)

yasinkuyu/omnipay-paratika
==========================

Paratika (Asseco) MOTO/3D gateway for Omnipay payment processing library

2.0.3(7y ago)1519016MITPHP

Since Jun 12Pushed 5y ago4 watchersCompare

[ Source](https://github.com/yasinkuyu/omnipay-paratika)[ Packagist](https://packagist.org/packages/yasinkuyu/omnipay-paratika)[ Docs](https://github.com/yasinkuyu/omnipay-paratika)[ RSS](/packages/yasinkuyu-omnipay-paratika/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Omnipay: Paratika
=================

[](#omnipay-paratika)

**Paratika (Asseco) (Akbank, TEB, Halkbank, Finansbank, İş Bankası, Şekerbank, Vakıfbank ) gateway for Omnipay payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/67b02a21c60119f4c9c4f0abd98f799b9cde10fe196c7c12672597985ad39c77/68747470733a2f2f706f7365722e707567782e6f72672f796173696e6b7579752f6f6d6e697061792d7061726174696b612f762f737461626c65)](https://packagist.org/packages/yasinkuyu/omnipay-paratika)[![Total Downloads](https://camo.githubusercontent.com/5dc8d64ac678a1d2c2b3b1241f7afb3725ae115c1be3a24ce2251b7798c9967b/68747470733a2f2f706f7365722e707567782e6f72672f796173696e6b7579752f6f6d6e697061792d7061726174696b612f646f776e6c6f616473)](https://packagist.org/packages/yasinkuyu/omnipay-paratika)[![Latest Unstable Version](https://camo.githubusercontent.com/3f865c7f4e3d9965d6a75f6200090d23ef9823fb14c7706db18d7eb759c18a53/68747470733a2f2f706f7365722e707567782e6f72672f796173696e6b7579752f6f6d6e697061792d7061726174696b612f762f756e737461626c65)](https://packagist.org/packages/yasinkuyu/omnipay-paratika)[![License](https://camo.githubusercontent.com/1ab460faac673e7e826fe9ba4051111f901be62048359ea56cadb0ebb984ae96/68747470733a2f2f706f7365722e707567782e6f72672f796173696e6b7579752f6f6d6e697061792d7061726174696b612f6c6963656e7365)](https://packagist.org/packages/yasinkuyu/omnipay-paratika)

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

Paratika Api Entegrasyonu, Asseco firmasının yeni sanal pos hizmeti için Omnipay kütüphanesi. Akbank, TEB, Halkbank, Finansbank, İş Bankası, Şekerbank ve Vakıfbank taksit imkanı sunuyor.

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

[](#installation)

```
composer require yasinkuyu/omnipay-paratika:~2.0

```

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

[](#basic-usage)

The following gateways are provided by this package:

- Paratika
    - Akbank
    - TEB
    - Hakbank
    - Finansbank
    - İş Bankası
    - Şekerbank
    - Vakıfbank

Gateway Methods

- authorize($options) - authorize an amount on the customer's card
- capture($options) - capture an amount you have previously authorized
- purchase($options) - authorize and immediately capture an amount on the customer's card
- refund($options) - refund an already processed transaction
- void($options) - generally can only be called up to 24 hours after submitting a transaction
- session($options) - session parameters required to purchase.
- query($options) - query for various other inquiries.

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

Samples
-------

[](#samples)

```
		require __DIR__ . '/vendor/autoload.php';

		use Omnipay\Omnipay;

		$gateway = Omnipay::create('Paratika');
		$gateway->setMerchant('10000000');
		$gateway->setMerchantUser('test@yasinkuyu.net');
		$gateway->setMerchantPassword('Paratika123');
		$gateway->setSecretKey('QOClasdJUuDDWasdasdasd');
		$gateway->setBank('ISBANK');

		$gateway->setMode("NonDirectPost3D");
		//Diğer paremetreler: api DirectPost3D NonDirectPost3D
		//3D test için işlem şifresi a ya da 1

		// Zorunlu parametreler
		$card = [
		    'number'        => '5456165456165454',
		    'expiryMonth'   => '12',
		    'expiryYear'    => '2020',
		    'cvv'           => '000',

		    'email'         => 'info@insya.com',
		    'firstname'     => 'Insya',
		    'lastname'      => 'Bilisim',
		    'phone'         => '95555050505',

		    'billingAddress1' => 'Test sokak',
		    'billingCity'     => 'Tekirdag',
		    'billingPostcode' => '59850',
		    'billingCountry'  => 'Turkey',

		    'shippingAddress1' => 'Test sokak',
		    'shippingCity'     => 'Tekirdag',
		    'shippingPostcode' => '59850',
		    'shippingCountry'  => 'Turkey'
		];

		try {

		    $options = [
		        'amount'        => 100.00,
		        'currency'      => 'TRY',
		        //'installment'   => 0, // Taksit
		        'orderId'       => 'S-12341308', // Benzersiz olmalı.
		        'returnUrl'     => 'http://local.desktop/Paratika/callback.php',
		        'cancelUrl'     => 'http://local.desktop/Paratika/callback.php',
		        'sessionType'   => 'PAYMENTSESSION', //Diğer parametreler: PAYMENTSESSION WALLETSESSION
		        'card'          => $card,
		    ];

		    // SessionToken almak için oturum açalım
		    $sessionResponse = $gateway->session($options)->send();

		    if ($sessionResponse->isSuccessful()) {

		            $sessionToken =  $sessionResponse->getSessionToken();

		            // Oturum değiştikenini satış ve diğer işlemlerde kullanmak için tanımlayalım.
		            $gateway->setSessionToken($sessionToken);

		            // Auth (Satış) işlemi
		            $response = $gateway->purchase($options)->send();

		            if ($response->isSuccessful()) {
		                echo "İşlem başarılı transactionId:". $response->getTransactionId();
		            } elseif ($response->isRedirect()) {
		                $response->redirect();
		            } else {
		                echo $response->getMessage();
		            }

		    } elseif ($sessionResponse->isRedirect()) {
		        $sessionResponse->redirect();
		    } else {
		        echo $sessionResponse->getMessage();
		    }

		} catch (\Exception $e) {
		    echo $e->getMessage();
		}

```

NestPay (EST)
-------------

[](#nestpay-est)

(İş Bankası, Akbank, Finansbank, Denizbank, Kuveytturk, Halkbank, Anadolubank, ING Bank, Citibank, Cardplus) gateway for Omnipay payment processing library

Posnet
------

[](#posnet)

Posnet (Yapı Kredi, Vakıfbank, Anadolubank) gateway for Omnipay payment processing library

İyzico
------

[](#i̇yzico)

Iyzico gateway for Omnipay payment processing library

GVP (Granti Sanal Pos)
----------------------

[](#gvp-granti-sanal-pos)

Gvp (Garanti, Denizbank, TEB, ING, Şekerbank, TFKB) gateway for Omnipay payment processing library

BKM Express
-----------

[](#bkm-express)

BKM Express gateway for Omnipay payment processing library

Composer Installation
---------------------

[](#composer-installation)

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

```
{
    "require": {
        "yasinkuyu/omnipay-paratika": "~2.0"
    }
}
```

And run composer to update your dependencies:

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

```

Support
-------

[](#support)

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

Roadmap
-------

[](#roadmap)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~195 days

Total

4

Last Release

2670d ago

Major Versions

1.1.1 → 2.0.12017-06-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/204635?v=4)[Yasin](/maintainers/yasinkuyu)[@yasinkuyu](https://github.com/yasinkuyu)

---

Top Contributors

[![yasinkuyu](https://avatars.githubusercontent.com/u/204635?v=4)](https://github.com/yasinkuyu "yasinkuyu (14 commits)")[![htcang](https://avatars.githubusercontent.com/u/5163135?v=4)](https://github.com/htcang "htcang (2 commits)")

---

Tags

paymentgatewaypaymerchantomnipayakbankIsbanksanal-posfinansbankvakifbankTEBparatikaSekerbank

### Embed Badge

![Health badge](/badges/yasinkuyu-omnipay-paratika/health.svg)

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

###  Alternatives

[yasinkuyu/omnipay-iyzico

Iyzico gateway for Omnipay payment processing library

137.0k](/packages/yasinkuyu-omnipay-iyzico)[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1017.2k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

154.6k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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