2017 © Pedro Peláez
 

library payir

Pay.ir php package

image

wmateam/payir

Pay.ir php package

  • Monday, May 28, 2018
  • by wmateam
  • Repository
  • 1 Watchers
  • 2 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 16 % Grown

The README.md

Build Status License, (*1)

Pay.ir php package

Wiki and Docs

New payment

$apiKey = 'test';
$redirectUrl = 'http://localhost:2030/verify.php';
$payIr = new \wmateam\payIr\PayIr($apiKey, $redirectUrl);

$factorNumber = 'testFactorNumber';//Optional
$amount = 1000;//Rial

$transaction = $payIr->newPayment($amount, $factorNumber);
$transactionID = $transaction->getTransactionID();
$gateway = $transaction->getGateway();

verify transaction

$apiKey = 'test';
$redirectUrl = 'http://localhost:2030/verify.php';
$payIr = new \wmateam\payIr\PayIr($apiKey, $redirectUrl);

$verify = $payIr->verifyPayment($_POST['transId']);
$status = $verify->status;
$amount = $verify->amount;

The Versions

28/05 2018

dev-master

9999999-dev https://github.com/wmateam/payir

Pay.ir php package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mohammad Javad Afkari

curl php payment pay.ir

28/05 2018

1.1

1.1.0.0 https://github.com/wmateam/payir

Pay.ir php package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mohammad Javad Afkari

curl php payment pay.ir

27/07 2017

1.0

1.0.0.0 https://github.com/wmateam/payir

Pay.ir php package

  Sources   Download

The Requires

 

The Development Requires

by Mohammad Javad Afkari

curl php payment pay.ir