A Gladepay SDK written in PHP (www.gladepay.com)
Note: This repository contains the Gladepay SDK integrating gladepay.com API into your project. You need a Merchant ID and Key to authenticate against the API register here https://dashboard.gladepay.com/register or use the demo Test API Credentials: Merchant ID: GP0000001 Merchant Key: 123456789
-
Require the package using composer:
composer require olakunlevpn/gladepaysdk-php
- Next, require Composer's autoloader, in your application, to automatically load the Gladpaysdk in your project:
require_once "vendor/autoload.php";
use Olakunlevpn\Gladepaysdk\GladepaySDk;
$merchant_id = "GP0000001"; //To get your live credentials register here https://dashboard.gladepay.com/register
$merchant_key = "123456789"; //To get your live credentials register here https://dashboard.gladepay.com/register
//Auth session with your Merchant ID and Merchant Key.
$Glade = new GladepaySDk($merchant_id, $merchant_key, true); //Change value to true if you are using demo merchant and key
If you don't understand something about Gladpaysdk SDK, the extensive documentation is a great place to look for answers.
The MIT License (MIT). Please see License File for more information.