Skip to content
CloudPayments PHP Client Library
PHP
Branch: master
Clone or download
troytft Merge pull request #9 from Troytft/json-requests
use json requests instead urlencode
Latest commit 5e45ee2 Dec 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
composer.json
readme.md

readme.md

CloudPayments PHP Client Library

Клиент для платежного сервиса CloudPayments. Позволяет обращаться к API CloudPayments из кода на PHP.

Установка

composer require troytft/cloud-payments-client

Использование

$client = new \CloudPayments\Manager($publicKey, $privateKey);
$transaction = $client->chargeToken($amount, $currency, $accountId, $cardToken);

print $transaction->getId();
You can’t perform that action at this time.