2017 © Pedro Peláez
 

library payment

Payment

image

tje3d/payment

Payment

  • Saturday, February 10, 2018
  • by tje3d
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 75 % Grown

The README.md

Payment

..., (*1)

Example

try {
    $transId = Payment::nextpay()->order([
        'orderId'     => '1',
        'amount'      => '1000',
        'callBackUrl' => 'http://matmag.ir',
    ]);

    Payment::nextpay()->verify([
        'orderId' => '1',
        'amount'  => '1000',
        'transId' => $transId,
    ]);

    echo 'Successful';
} catch (ConnectionFail $e) {
    echo $e->getMessage();
} catch (OrderException $e) {
    printf('Order Error, ID: %d - Message: %s', $e->getId(), $e->getMessage());
}

The Versions

10/02 2018

dev-master

9999999-dev

Payment

  Sources   Download

The Requires

 

by Avatar moein

payment gateway nextpay.ir

10/02 2018

1.0

1.0.0.0

Payment

  Sources   Download

The Requires

 

by Avatar moein

payment gateway nextpay.ir