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

ActiveLibrary[Payment Processing](/categories/payments)

yasinkuyu/omnipay-posnet
========================

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

2.0.2(8y ago)2336711[2 issues](https://github.com/yasinkuyu/omnipay-posnet/issues)MITPHP

Since Aug 4Pushed 8y ago2 watchersCompare

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

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

Omnipay: Posnet
===============

[](#omnipay-posnet)

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

[![Latest Stable Version](https://camo.githubusercontent.com/5647cc26ad1d1ece5207398e294dc12a3d14c63243e502ffcdcdf0eca72fc9ad/68747470733a2f2f706f7365722e707567782e6f72672f796173696e6b7579752f6f6d6e697061792d706f736e65742f762f737461626c65)](https://packagist.org/packages/yasinkuyu/omnipay-posnet)[![Total Downloads](https://camo.githubusercontent.com/7122aba7d04baf71bb40faddda2e26537eddc01a5432895665e16e6cf1f9750a/68747470733a2f2f706f7365722e707567782e6f72672f796173696e6b7579752f6f6d6e697061792d706f736e65742f646f776e6c6f616473)](https://packagist.org/packages/yasinkuyu/omnipay-posnet)[![Latest Unstable Version](https://camo.githubusercontent.com/9645b376b07ba58e6ebf39637a93806534693ae0d9566e204570dceb7721138c/68747470733a2f2f706f7365722e707567782e6f72672f796173696e6b7579752f6f6d6e697061792d706f736e65742f762f756e737461626c65)](https://packagist.org/packages/yasinkuyu/omnipay-posnet)[![License](https://camo.githubusercontent.com/b965c6e29c64b556c99aa2d2e26e1f5b41753c81efb165db6caa640cee921e77/68747470733a2f2f706f7365722e707567782e6f72672f796173696e6b7579752f6f6d6e697061792d706f736e65742f6c6963656e7365)](https://packagist.org/packages/yasinkuyu/omnipay-posnet)

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

Posnet (Yapı Kredi, Vakıfbank, Anadolubank) sanal pos hizmeti için omnipay kütüphanesi.

(Türkçe açıklamalar için )

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

[](#installation)

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

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

And run composer to update your dependencies:

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

```

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

[](#basic-usage)

The following gateways are provided by this package:

- Posnet
    - Yapı Kredi
    - Vakıfbank
    - Anadolubank

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

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.

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

[](#sample-app)

```
