2017 © Pedro Peláez
 

library package-payment

ZN Framework Payment Gateway Package

image

znframework/package-payment

ZN Framework Payment Gateway Package

  • Sunday, July 1, 2018
  • by znframework
  • Repository
  • 3 Watchers
  • 0 Stars
  • 59 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 321 % Grown

The README.md

, (*1)

ZN Framework Payment Package

Follow the steps below for installation and use. , (*2)

Installation

You only need to run the following code for the installation. , (*3)

composer require znframework/package-payment

Documentation

Click for documentation of your library. , (*4)

Example Usage

Basic level usage is shown below. , (*5)

<?php require 'vendor/autoload.php';

ZN\ZN::run();

# Request
$nestpay = Gateway::request('Nestpay');

$nestpay->clientId('123456')
        ->storeKey('19020000')
        ->cardType(1) # 1:visa 2:mastercard
        ->card('1234123412341234', 12, 18, '313')
        ->orderId(1)
        ->amount('10.00')
        ->returnUrl('Pay/response')
        ->send('test');
# Response
$nestpay = Gateway::response('Nestpay');

if( $nestpay->isApproved() )
{
    echo 'İşlem başarılı.';
}
else
{
    echo $nestpay->error();
}

The Versions

01/07 2018

5.8.x-dev

5.8.9999999.9999999-dev https://znframework.com

ZN Framework Payment Gateway Package

  Sources   Download

MIT

The Requires

 

gateway payment gateway znframework

01/07 2018
29/05 2018

dev-develop

dev-develop https://znframework.com

ZN Framework Payment Gateway Package

  Sources   Download

MIT

The Requires

 

gateway payment gateway znframework

29/05 2018

5.7.x-dev

5.7.9999999.9999999-dev https://znframework.com

ZN Framework Payment Gateway Package

  Sources   Download

MIT

The Requires

 

gateway payment gateway znframework

14/05 2018