文件名称:payir:Pay.ir php包
文件大小:10KB
文件格式:ZIP
更新时间:2024-06-05 15:29:53
php composer payment payir PHP
php包 新付款 $ apiKey = 'test' ; $ redirectUrl = 'http://localhost:2030/verify.php' ; $ payIr = new \wmateam\payIr\ PayIr ( $ apiKey , $ redirectUrl ); $ factorNumber = 'testFactorNumber' ; //Optional $ amount = 1000 ; //Rial $ transaction = $ payIr -> newPayment ( $ amount , $ factorNumber ); $ transactionID = $ transaction -> getTransactionID (); $ gateway = $ transaction -> getGateway (); 验证交易 $
【文件预览】:
payir-master
----src()
--------PayIr.php(3KB)
--------PayIrTransaction.php(771B)
--------PayIrReceipt.php(2KB)
--------PayirException.php(2KB)
----.travis.yml(187B)
----LICENSE(1KB)
----composer.lock(25KB)
----phpunit.xml(564B)
----README.md(952B)
----tests()
--------PayIrTest.php(1009B)
----.gitignore(258B)
----composer.json(572B)