Download the PHP package zgabievi/laravel-bog-console without Composer
On this page you can find all versions of the php package zgabievi/laravel-bog-console. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zgabievi/laravel-bog-console
More information about zgabievi/laravel-bog-console
Files in zgabievi/laravel-bog-console
Package laravel-bog-console
Short Description Bank of Georgia Merchant Console OpenAPI Helper
License MIT
Informations about the package laravel-bog-console
Bank of Georgia Merchant Console OpenAPI Helper
Table of Contents
- Installation
- Usage
- ENV Variables
- License
Installation
To get started, you need to install package:
If your Laravel version is older than 5.5, then add this to your service providers in config/app.php:
You can publish config file using this command:
This command will copy config file for you.
Usage
All of the responses are stdClasses. Errors are handled by laravel abort helper. Catch exceptions on your own, if you want to handle them.
Here are methods provided by this package:
- Session
- Session opening
- Session termination
- Opening a session with a new password
- Session extension
- Password change
- Desktop
- Obtaining the information on turnover for the period
- Obtaining data for charts
- Obtaining transaction data
- Obtaining the number of transactions
- Obtaining the list of transactions
- Obtaining the information about a single transaction
- Completion of authorization
- Money refund
- Card verification history
- Obtaining the size of the card verification list
- Obtaining the card verification list
- Obtaining the information about a single card verification operation
- Card registration history
- Obtaining the size of the card registration list
- Obtaining the card registration list
- Obtaining the information about a single card registration operation
- Payment cards
- Obtaining the information about a single card
- Obtaining the size of the card list
- Obtaining the card list
- Card deactivation
Session
All requests related to the merchant console shall be made only by authorized users. To be authorized the operator shall enter a username and a password. The service checks the password validity and opens the session. Then all requests shall be sent within this session.
The merchant operator profile is created in the administrative console of the Service.
The requests to the Service can be sent by the merchant operator using the merchant console. Or by an external system on behalf of the merchant operator. The format of the requests and the rules for their processing are the same.
Session opening
Example $response:
Session termination
If there was no exception, it means the session terminated successfully.
Opening a session with a new password
Example $response:
Session extension
If there was no exception, it means the session lifetime extended.
Password change
If there was no exception, it means the session lifetime extended.
Desktop
Obtaining the information on turnover for the period
Example $response:
Obtaining data for charts
Example $response:
Obtaining transaction data
Obtaining the number of transactions
Example $response:
Obtaining the list of transactions
Example $response:
Obtaining the information about a single transaction
Example $response:
Completion of authorization
Example $response:
Money refund
Example $response:
Card verification history
Obtaining the size of the card verification list
Example $response:
Obtaining the card verification list
Example $response:
Obtaining the information about a single card verification operation
Example $response:
Card registration history
Obtaining the size of the card registration list
Example $response:
Obtaining the card registration list
Example $response:
Obtaining the information about a single card registration operation
Example $response:
Payment cards
Obtaining the information about a single card
Example $response:
Obtaining the size of the card list
Example $response:
Obtaining the card list
Example $response:
Card deactivation
If there was no exception, it means the session lifetime extended.
Environment Variables
Key | Meaning | Type | Default |
---|---|---|---|
BOG_CONSOLE_PORTAL_ID | Merchant portal id for requests | string | |
BOG_CONSOLE_API_URL | OpenAPI console url | string | https://mpi.gc.ge/open/api/v4/ |
BOG_CONSOLE_USERNAME | OpenAPI console username | string | |
BOG_CONSOLE_PASSWORD | OpenAPI console password | string |
License
zgabievi/laravel-bog-console is licensed under a MIT License.
All versions of laravel-bog-console with dependencies
illuminate/config Version ^6.0|^7.0|^8.0
illuminate/database Version ^6.0|^7.0|^8.0
illuminate/support Version ^6.0|^7.0|^8.0
bensampo/laravel-enum Version ^1.38|^3.1