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

ActiveLibrary[Payment Processing](/categories/payments)

matrix2305/omnipay-nestpay
==========================

NestPay gateway for Omnipay payment processing library - with custom set endpoints

v3.x-dev(1y ago)0437MITPHP

Since Jan 10Pushed 1y agoCompare

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

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

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

[](#omnipay-nestpay)

**NestPay (EST) gateway for Omnipay payment processing library with custom set endpoint**

[![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.

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

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

[](#installation)

```
composer require matrix2305/omnipay-nestpay

```

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

[](#basic-usage)

The following gateways are provided by this package:

- NestPay

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)

```
