PHPackages                             uskur/omnipay-nestpay - 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. uskur/omnipay-nestpay

ActiveLibrary[Payment Processing](/categories/payments)

uskur/omnipay-nestpay
=====================

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

3.0.2(6y ago)61.6k↓50%[1 PRs](https://github.com/Uskur/omnipay-nestpay/pulls)MIT

Since Jul 31Compare

[ Source](https://github.com/Uskur/omnipay-nestpay)[ Packagist](https://packagist.org/packages/uskur/omnipay-nestpay)[ Docs](https://github.com/uskur/omnipay-nestpay)[ RSS](/packages/uskur-omnipay-nestpay/feed)WikiDiscussions Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (12)Used By (0)

Omnipay: NestPay
================

[](#omnipay-nestpay)

**NestPay (EST) (İş Bankası, Akbank, Finansbank, Denizbank, Kuveytturk, Halkbank, Anadolubank, ING Bank, Citibank, Cardplus, Ziraat Bankası sanal pos) gateway for Omnipay payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/a31e375af36bce7f4ea91796afc20a121235a3721e49b38aab07c93df099e1e6/68747470733a2f2f706f7365722e707567782e6f72672f75736b75722f6f6d6e697061792d6e6573747061792f762f737461626c65)](https://packagist.org/packages/uskur/omnipay-nestpay)[![Total Downloads](https://camo.githubusercontent.com/aaf5fcb295538a51c466d81143182621cedd6a080fb4623eb4549f170ecbf1ca/68747470733a2f2f706f7365722e707567782e6f72672f75736b75722f6f6d6e697061792d6e6573747061792f646f776e6c6f616473)](https://packagist.org/packages/uskur/omnipay-nestpay)[![Latest Unstable Version](https://camo.githubusercontent.com/00aab4c3c00187bd6a8b99f7efba18f67cf774d990fbdeb567feb0250bdf1c03/68747470733a2f2f706f7365722e707567782e6f72672f75736b75722f6f6d6e697061792d6e6573747061792f762f756e737461626c65)](https://packagist.org/packages/uskur/omnipay-nestpay)[![License](https://camo.githubusercontent.com/0896cc17ff95772596566b1a232253e29a6583738c1841ea8ed1f6e0831677bc/68747470733a2f2f706f7365722e707567782e6f72672f75736b75722f6f6d6e697061792d6e6573747061792f6c6963656e7365)](https://packagist.org/packages/uskur/omnipay-nestpay)

For Omnipay v3.x

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

NestPay (eski adıyla EST) altyapısını kullanan Türkiye bankaları için Omnipay kütüphanesi. Desteklenmesi hedeflenen bankalar; İş Bankası, Akbank, Finansbank, Denizbank, Kuveytturk, Halkbank, Anadolubank, ING Bank, Citibank, Cardplus, Ziraat Bankası

Supports the API gateway as well as the HTTP Post Gateway methods (3d\_pay\_hosting, 3d\_pay, pay\_hosting)

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

[](#installation)

```
composer require uskur/omnipay-nestpay:~3.0

```

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

[](#basic-usage)

The following gateways are provided by this package:

- NestPay
    - İş Bankası
    - Akbank
    - Finansbank
    - Denizbank
    - Kuveytturk
    - Halkbank
    - Anadolubank
    - ING Bank
    - Citibank
    - Cardplus
    - Ziraat Bankası

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
- credit($options) - money points processed transaction
- settle($options) - settlement query processed transaction
- status($options) - returns status message of the transaction

For PostGateway

- authorize($options) - forwards the user via HTTP Post to gateway for a PreAuth
- purchase($options) - forwards the user via HTTP Post to gateway for an Auth
- acceptNotification - accepts the result notification from the gateway

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

Unit Tests
----------

[](#unit-tests)

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. No

Sample App
----------

[](#sample-app)

```
