olakunlevpn/gladepaysdk-php
Composer 安装命令:
composer require olakunlevpn/gladepaysdk-php
包简介
A Gladpay SDK written in PHP.
README 文档
README
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
1. Installation
-
Require the package using composer:
composer require olakunlevpn/gladepaysdk-php
2. Usage
- 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.
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-20