Download the PHP package fitnesshouse/payment-manager without Composer
On this page you can find all versions of the php package fitnesshouse/payment-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fitnesshouse/payment-manager
More information about fitnesshouse/payment-manager
Files in fitnesshouse/payment-manager
Package payment-manager
Short Description Payment system manager
License MIT
Homepage https://github.com/fhcs/fh-payment-manager
Informations about the package payment-manager
payment-manager
Introduction
Laravel Payment system manager.
Менеджер подключения платежных систем для web приложений Laravel.
Payment systems
- ПСКБ (doc)
Features
- php ^7.3|^8.0
- Laravel v7.*
Installation
Composer
or add the following to your requirement part within the composer.json:
and run command
Configure
Для базовой конфигурации в файле определите следующие обязательные параметры для платежной системы установленной по умолчанию (ПСКБ):
А так же переопределите необязательные параметры.
См. документацию к платежной системе.
Если вам нужны расширенные свойства конфигурации, запустите:
Эта команда создаст файл конфигурации
Платежная система по умолчанию установлена в файле конфигурации:
Integration
Основное использование
Создание платежа
Запрос (QueryBuilder)
Создать запрос:
Для каждой платежной системы реализуется свой класс интерфейса QueryBuilder
со своими методами, необходимыми для создания запроса.
См. документацию к платежной системе.
Создать запрос для определенной платежной системы:
Получить сформированную ссылку и перенаправить клиента в платежную систему для оплаты:
Взаимодействие с платежной системой
Обработчик запросов (RequestHandler)
Взаимодействие с платежной системой (request/response)
Создать запрос:
Создать запрос для определенной платежной системы:
Отправить запрос и получить ответ:
All versions of payment-manager with dependencies
ext-json Version *
ext-openssl Version *
guzzlehttp/guzzle Version ^7.2