Download the PHP package wearesho-team/platon without Composer
On this page you can find all versions of the php package wearesho-team/platon. 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 platon
Platon Integration
Platon SDK for PHP.
Changelog |
Usage Examples
API
Installation
Using composer:
Usage
Configuration
For configuration you have to use ConfigInterface. Available implementations:
-
Config - simple entity. Example:
- EnvironmentConfig - configuration using getenv. Example:
Environment configuration:
Variable | Required | Default | Description |
---|---|---|---|
PLATON_KEY | yes | public key | |
PLATON_PASS | yes | secret key | |
PLATON_URL | no | https://secure.platononline.com/ | base url to make C2C requests |
PLATON_PAYMENT | no | CC | default payment type |
PLATON_LANGUAGE | no | ua | language: ru or ua |
Generating payment configuration
Use Client to fetch payment config
Rendering form
*You should send data
to action
url.
Notification
Use Notification\Server to create payment instance from platon`s request:
Info
Fetching information about account balance. Use Info\ConfigInterface for configuration. EnvironmentConfig available:
Variable | Required | Description |
---|---|---|
PLATON_INFO_PUBLIC_KEY | yes | Public Key for Info API |
PLATON_INFO_PRIVATE_KEY | yes | Private Key for Info API |
See Info\Response for details.
Author
- Wearesho
- Alexander Letnikow
License
MIT
All versions of platon with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-json Version *
guzzlehttp/guzzle Version ^6.5.8 || ^7.4.5
horat1us/environment-config Version ^1.2
nekman/luhn-algorithm Version ^5.0.1
nesbot/carbon Version ^2.24 || ^3.0
wearesho-team/bobra-payments Version ^3.0
ext-json Version *
guzzlehttp/guzzle Version ^6.5.8 || ^7.4.5
horat1us/environment-config Version ^1.2
nekman/luhn-algorithm Version ^5.0.1
nesbot/carbon Version ^2.24 || ^3.0
wearesho-team/bobra-payments Version ^3.0
The package wearesho-team/platon contains the following files
Loading the files please wait ....