Closed taheri79 closed 2 years ago
Already tested this and haven't seen any issues.
test
APIs working fine and returning token. Here is a sample code you can test it after installing this package:
$gateway = new \Payir\SDK\Services\Gateway('test');
$send = $gateway->send(10000, "https://callback-url", []);
$paymentUrl = "https://pay.ir/pg/$send->token";
print_r($paymentUrl);
This bug is related to Pay.ir servers but I suggested to make the issue here if you use 'test' as your Api Token to request Pay.ir servers, you won't receive any status in respawn also doesn't throw exceptions. And Its a solution for Developers Like me who wanted to Use Pay.ir services or ether php-sdk