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

ActiveLibrary[Payment Processing](/categories/payments)

hasandz/omnipay-posnet
======================

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

2.0.1(10y ago)0935MITPHP

Since Aug 4Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

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

[](#omnipay-posnet)

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

[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": {
        "hasandz/omnipay-posnet": "dev-master"
    }
}
```

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)

```
