iborodikhin / wooppay
WoopPay SOAP client
Installs: 117
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/iborodikhin/wooppay
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.";
}