inarli / payu-tools
Payunun resmi olarak sunduğu kütüphanesinde olmayan temel özellikler
Installs: 247
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/inarli/payu-tools
Requires
- php: >=5.3
- ext-curl: *
- guzzlehttp/guzzle: 6.3
Requires (Dev)
- phpunit/phpunit: ~4.8
- symfony/var-dumper: v3.3.6
This package is auto-updated.
Last update: 2025-09-29 01:26:36 UTC
README
PHP Client For PayU
You can send request to PayU Rest API with this library;
Example;
<?php require_once '../vendor/autoload.php'; $merchant = new \PayuTools\Merchant('OPU_TEST', 'SECRET_KEY'); $client = new \PayuTools\Client($merchant); $cancelRequest = new \PayuTools\Request\Token\CancelRequest('5213b33bad3c07e87e8f032c94452bdc', 'Token cancelled'); $response = $client->send($cancelRequest); var_dump($response->getStatus()); var_dump($response->getError()); var_dump($response->getData()); ?>