iborodikhin / wooppay
This package is abandoned and no longer maintained.
The author suggests using the kolesa-team/wooppay package instead.
There is no license information available for the latest version (dev-master) of this package.
WoopPay SOAP client
dev-master
2017-01-11 02:27 UTC
Requires
- php: >=5.4.0
- ext-soap: *
Requires (Dev)
- fzaninotto/faker: ^1.5
- phpunit/phpunit: ~4.6
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2017-01-11 02:33:35 UTC
README
Wooppay SOAP client
Library is deprecated
This library is deprecated and no longer supported. Use kolesa-team/wooppay
instead.
Installation
composer require iborodikhin/wooppay
Usage example
$client = new \Wooppay\Client($uri, $options);
$client->login($username, $password);
$client->requestConfirmationCode($phoneNumber);
$result = $client->createInvoiceExtended(…);
$status = $client->getOperationData([$result->getOperationId()]);
$response = current($status);
if ($status && $status->getStatus() == \Wooppay\Objects\Response\GetOperationData::STATUS_DONE) {
echo "Operation successfully completed.";
}