Download the PHP package payboxmoney/cardstorage without Composer
On this page you can find all versions of the php package payboxmoney/cardstorage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cardstorage
PayboxCardStorage
Пакет упрощает работу с картами Paybox.
1) Установка пакета
Для установки пакета пропишите команду в консольке:
2) Запросы
- Запрос на инициализацию iframe
- Получение списка карт
- Удаление карты
- Инициализации платежа для оплаты сохраненной картой
- Проведение платежа сохраненной картой
Запрос на инициализацию iframe
Пример
Получение списка карт
Пример
<?php
use Paybox\CardStorage\Facade as CardStorage;
$cardStorage = new CardStorage();
$cardStorage->merchant->id = 12345;
$cardStorage->merchant->secretKey = 'asflerjgsdfv';
$cardStorage->customer->id = 123;
$result = $cardStorage->getCardList();
Удаление карты
Пример
<?php
use Paybox\CardStorage\Facade as CardStorage;
$cardStorage = new CardStorage();
$cardStorage->merchant->id = 12345;
$cardStorage->merchant->secretKey = 'asflerjgsdfv';
$cardStorage->customer->id = 123;
$cardStorage->card->id = 456;
$result = $cardStorage->removeCard();
Инициализации платежа для оплаты сохраненной картой
Пример
<?php
use Paybox\CardStorage\Facade as CardStorage;
$cardStorage = new CardStorage();
$cardStorage->merchant->id = 12345;
$cardStorage->merchant->secretKey = 'asflerjgsdfv';
$cardStorage->customer->id = 123;
$cardStorage->card->id = 456;
$cardStorage->order->id = 789;
$cardStorage->order->description = 'Description';
$cardStorage->order->amount = 1999;
$result = $cardStorage->initPayment();
Проведение платежа сохраненной картой
Пример
<?php
use Paybox\CardStorage\Facade as CardStorage;
$cardStorage = new CardStorage();
$cardStorage->merchant->id = 12345;
$cardStorage->merchant->secretKey = 'asflerjgsdfv';
$cardStorage->payment->id = 456;
$result = $cardStorage->pay();
All versions of cardstorage with dependencies
PHP Build Version
Package Version
The package payboxmoney/cardstorage contains the following files
Loading the files please wait ....