olakunlevpn/gladepaysdk-php

A Gladpay SDK written in PHP.

0.0.6 2019-12-23 16:46 UTC

This package is auto-updated.

Last update: 2024-05-18 04:56:05 UTC


README

A Gladepay SDK written in PHP (www.gladepay.com)

Issues Stars Latest Stable Version Total Downloads Latest Unstable Version License

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

1. Installation

  1. Require the package using composer:

    composer require olakunlevpn/gladepaysdk-php
    

2. Usage

  1. 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

Documentation

If you don't understand something about Gladpaysdk SDK, the extensive documentation is a great place to look for answers.

Credits

License

The MIT License (MIT). Please see License File for more information.