jimizz/gateway-php

Jimizz Gateway - PHP Integration kit

1.0.5 2022-11-22 14:35 UTC

This package is auto-updated.

Last update: 2024-12-22 19:26:09 UTC


README

Latest Stable Version License

Jimizz Gateway - PHP Integration Kit

Requirements

  • PHP >= 7.2;
  • composer.

Installation

composer require jimizz/gateway-php

Example

You can find a complete example of integration in the example folder.

Create a new transaction

$gateway = new Gateway(MERCHANT_ID);
$transaction = $gateway->transaction($mode, $fields);
$transaction->sign(PRIVATE_KEY);
$transaction->render();

Full example

Verify callback notification

$gateway = new Gateway(MERCHANT_ID);
if ($gateway->verifyCallback($data)) {
    // Callback data is valid
}

Full example

License

Please refer to LICENSE.