Download the PHP package gomzyakov/payture without Composer
On this page you can find all versions of the php package gomzyakov/payture. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gomzyakov/payture
More information about gomzyakov/payture
Files in gomzyakov/payture
Package payture
Short Description PHP client for Payture InPay API
License MIT
Homepage https://github.com/gomzyakov/payture
Informations about the package payture
Payture InPay Client
Simple PHP client for Payture InPay API.
InPay is an easy way to accept payments without saving cards. Customer’s card details are entered at Payture gateway web page and all required data security is provided by Payture, saving Merchant efforts and expenses related to card information protection.
Installation
Usage
Tuning
Client configuration
You can pass 3-rd argument to the GuzzleHttpPaytureTransport with the instance of \Gomzyakov\Payture\GuzzleHttp\GuzzleHttpOptionsBag
.
Instance is preconfigured with guzzle \GuzzleHttp\RequestOptions
both global (first constructor argument) and per-operation
(second constructor argument indexed by operation name)
Logging
You can pass 4-th argument to the GuzzleHttpPaytureTransport with instance of PSR-3 LoggerInterface
in order to log operations with parameters.
Also you can configure generic Guzzle logging middleware.
Testing
You can test this library against your own test terminal providing PAYTURE_TEST_MERCHANT_KEY
and PAYTURE_TEST_MERCHANT_PASSWORD
environment variables while running the tests.
These test will run order processing sequence against payture sandbox.
All versions of payture with dependencies
ext-simplexml Version *
ext-dom Version *
ext-libxml Version *
ext-json Version *
guzzlehttp/guzzle Version ^7.5
psr/log Version ^3.0