Download the PHP package merdan/gateway-tm without Composer
On this page you can find all versions of the php package merdan/gateway-tm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download merdan/gateway-tm
More information about merdan/gateway-tm
Files in merdan/gateway-tm
Package gateway-tm
Short Description A simple library that provides integration to local Bank payment processing services in Turkmenistan.
License MIT
Informations about the package gateway-tm
Gateway-TM
A simple library that provides integration to local Bank payment processing services in Turkmenistan.
Introduction
Gateway-TM offers seamless integration with three primary payment services: Rysgal, AltynAsyr, and Senagat. This library facilitates the process of registering payment orders and checking their status. It has been designed to be easily extendable, allowing users to incorporate additional gateway services by extending the AbstractGateway class and implementing their custom class. This ensures a high level of flexibility in integrating new payment service types.
Requirements
- Laravel 9 or higher
- PHP 8.1 or higher
Installation & Instructions
Default installation is via Composer.
The package will automatically register itself.
Add the Service Provider and alias manually to your
config/app
file in the providers
section.
Publish the config
Please configure the following credentials in your .env file, which you will obtain from the bank.
ALTYN_ASYR_USER=
ALTYN_ASYR_PASSWORD=
ALTYN_ASYR_API=
ALTYN_ASYR_ORDER_URI='register.do'
ALTYN_ASYR_STATUS_URI='orderStatus.do'
RYSGAL_USER=
RYSGAL_PASSWORD=
RYSGAL_API=
RYSGAL_ORDER_URI='register.do'
RYSGAL_STATUS_URI=
SENAGAT_USER=
SENAGAT_PASSWORD=
SENAGAT_API=
SENAGAT_ORDER_URI='register.do'
SENAGAT_STATUS_URI='orderStatus.do'
Usage
Add Gateway facade to your class, controller
Available payment providers
Register order
Check payment status
License
Is open-sourced software licensed under the MIT license.
All versions of gateway-tm with dependencies
illuminate/translation Version ^9.0|^10.0
php Version ^8.1