jimizz / gateway-php
Jimizz Gateway - PHP Integration kit
1.0.5
2022-11-22 14:35 UTC
Requires
- ext-curl: *
- ext-gmp: *
- ext-json: *
- simplito/elliptic-php: ^1.0
README
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();
Verify callback notification
$gateway = new Gateway(MERCHANT_ID);
if ($gateway->verifyCallback($data)) {
// Callback data is valid
}
License
Please refer to LICENSE.