dev-master
9999999-devA PHP client for the Vtcpay SOAP API
MIT
The Requires
soap web services vtcpay
v1.0.0
1.0.0.0A PHP client for the Vtcpay SOAP API
MIT
The Requires
soap web services vtcpay
A PHP client for the Vtcpay SOAP API
This library's features include the following., (*1)
This library is available on Packagist. The recommended way to install this library is through Composer:, (*2)
$ php composer.phar require vtcpay/soap-client dev-master
First construct a client using the builder:, (*3)
$builder = new \Vtcpay\SoapClient\ClientBuilder( '/path/to/your/vtcpay/wsdl/sandbox.enterprise.wsdl.xml' ); $client = $builder->build();
To enable logging for the client, call withLog()
on the builder. For instance when using Monolog:, (*4)
$log = new \Monolog\Logger('vtcpay'); $log->pushHandler(new \Monolog\Handler\StreamHandler('/path/to/your.log')); $builder = new \Vtcpay\SoapClient\ClientBuilder( '/path/to/your/vtcpay/wsdl/sandbox.enterprise.wsdl.xml' ); $client = $builder->withLog($log) ->build();
All requests to the VnPay API, as well as the responses and any errors that it returns, will now be logged., (*5)
A PHP client for the Vtcpay SOAP API
MIT
soap web services vtcpay
A PHP client for the Vtcpay SOAP API
MIT
soap web services vtcpay