Download the PHP package samyasm/mycoolpay without Composer
On this page you can find all versions of the php package samyasm/mycoolpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download samyasm/mycoolpay
More information about samyasm/mycoolpay
Files in samyasm/mycoolpay
Package mycoolpay
Short Description My-Coolpay payment gateway
License MIT
Homepage https://github.com/samyAsm/mycoolpay-payment-gateway
Informations about the package mycoolpay
mycoolpay-payment-gateway
This package is made for developers who want to integrate my-coolpay payment gateway on their php application.
The requirements are
"php": ">=7.2"
"ext-curl": "*"
"ext-json": "*"
Installation
Usage
For using this, you first need a merchant account on www.my-coolpay.com
Then, after installing you must create a common class that will do custom process like DB logs after and before any interactions with the API. This class must extends the MyCoolPay\MCP class, and must implements the MyCoolPay\ MCPInterface, then just define all methods on this class.
You can see example on The Test directory of the project.
have 4 actions you can perform with your Custom MCP class
1. Pay (get paid by your customers)
Can be performed with getPaymentLink method
2. Pay out (withdraw money from your account)
Can be performed with payout method
3. Callback (Manage callback from My-CoolPay API)
Can be performed with callback method
4. Check (Check transaction status on API)
Can be performed with checkStatus method
For all these methods, the first parameter is just the ones specified on the API doc.
All versions of mycoolpay with dependencies
ext-curl Version *
ext-json Version *