Download the PHP package uskur/omnipay-nestpay without Composer

On this page you can find all versions of the php package uskur/omnipay-nestpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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 Total Downloads Latest Unstable Version License

For Omnipay v3.x

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

composer require uskur/omnipay-nestpay:~3.0

Basic Usage

The following gateways are provided by this package:

Gateway Methods

For PostGateway

For general usage instructions, please see the main Omnipay repository.

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

        <?php

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

        use Omnipay\Omnipay;

        $gateway = Omnipay::create('NestPay');

        $gateway->setBank("denizbank");
        $gateway->setUserName("DENIZTEST");
        $gateway->setClientId("800100000");
        $gateway->setPassword("DENIZTEST123");
        $gateway->setTestMode(TRUE);

        $options = [
            'number'        => '5406675406675403',
            'expiryMonth'   => '12',
            'expiryYear'    => '2022',
            'cvv'           => '000',
            'email'         => '[email protected]',
            'firstname'     => 'Yasin',
            'lastname'      => 'Kuyu'
        ];

        try {

            $response = $gateway->purchase(
            [
                //'installment'  => '', # Taksit
                //'moneypoints'  => 1.00, // Set money points (Maxi puan gir)
                'amount'        => 12.00,
                'type'          => 'Auth',
                'transactionId' => 'ORDER-3651233',
                'card'          => $options
            ]
            )->send();
            /*
            $response = $gateway->authorize(
            [
                'type'          => 'PostAuth',
                'transactionId' => 'ORDER-365123',
                'card'          => $options
            ]
            )->send();

            $response = $gateway->capture(
            [
                'transactionId' => 'ORDER-365123',
                'amount'        => 1.00,
                'currency'      => 'TRY',
                'card'          => $options
            ]
            )->send();

            $response = $gateway->refund(
            [
                'transactionId' => 'ORDER-365123',
                'amount'        => 1.00,
                'currency'      => 'TRY',
                'card'          => $options
            ]
            )->send();

            $response = $gateway->credit(
            [
                'transactionId' => 'ORDER-365123',
                'amount'        => 1.00,
                'currency'      => 'TRY', // Optional (default parameter TRY)
                'card'          => $options
            ]
            )->send();

            $response = $gateway->void(
            [
                'transactionId' => 'ORDER-365123',
                'amount'        => 1.00,
                'currency'      => 'TRY',
                'card'          => $options
            ]
            )->send();

            $response = $gateway->credit(
            [
                'amount'        => 1.00,
                'card'          => $options
            ]
            )->send();

            $response = $gateway->settle(
            [
                'settlement'   => true,
                'card'         => $options
            ]
            )->send();

            $response = $gateway->money(
            [
                'moneypoints'  => "1",
                'card'         => $options
            ]
            )->send();
            */

            if ($response->isSuccessful()) {
                echo "Successful";

            } elseif ($response->isRedirect()) {
                $response->redirect();

            } else {
                exit($response->getMessage());
            }
        } catch (\Exception $e) {
            exit($e->getMessage());
        }

        // Debug
        //var_dump($response);

Posnet

Posnet (Yapı Kredi, Vakıfbank, Anadolubank) gateway for Omnipay payment processing library https://github.com/yasinkuyu/omnipay-posnet

Iyzico

Iyzico gateway for Omnipay payment processing library https://github.com/yasinkuyu/omnipay-iyzico

GVP (Granti Sanal Pos)

Gvp (Garanti, Denizbank, TEB, ING, Şekerbank, TFKB) gateway for Omnipay payment processing library https://github.com/yasinkuyu/omnipay-gvp

BKM Express

BKM Express gateway for Omnipay payment processing library https://github.com/yasinkuyu/omnipay-bkm

Paratika

Paratika (Asseco) (Akbank, TEB, Halkbank, Finansbank, İş Bankası, Şekerbank, Vakıfbank ) gateway for Omnipay payment processing library https://github.com/yasinkuyu/omnipay-paratika

Composer Installation

Omnipay is installed via Composer. To install, simply add it to your composer.json file:

And run composer to update your dependencies:

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

Support

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.

Roadmap

3D Secure payment


All versions of omnipay-nestpay with dependencies

PHP Build Version
Package Version
Requires omnipay/common Version ~3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package uskur/omnipay-nestpay contains the following files

Loading the files please wait ....