reelpay/sdk-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

reelpay/sdk-php

最新稳定版本:1.0.1

Composer 安装命令:

composer require reelpay/sdk-php

包简介

README 文档

README

ReelPay SDK-PHP


ReelPay is committed to helping users quickly transition from Web 2.0 to Web 3.0, attract new users, and collect mainstream currency protocol gateways like BTC, ETH, BSC, SOL, and TRX. Moreover, it aims to help safeguard payment security and provide services such as contract receiving, notifications for address receiving, QR Code receiving, and social promotion.

Documentation is at https://docs.reelpay.com/.

Requirements

php: >=7.0.0 ext-json: * ext-openssl: * At least reelpay sdk-php version 1.0.0 is required for all components to work properly.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require reelpay/sdk-php:"~1.0.0"

or add

"reelpay/sdk-php": "~1.0.0"

to the require section of your composer.json.

Configuration

To use this extension, you have to configure the Connection class in your application configuration:

require_once('vendor/autoload.php');

use Reelpay\Reelpay;

$transaction = Reelpay::Transaction(
    'eqrbntqbi5uqvkpr',
    'XhAlbICW10VJnWGruPL0NSnvb6946JDQ'
);
$res = $transaction->EntrustPay(
    "out_trade_no", 
    "USD", 
    "1.2", 
    "Product name", 
    "https://reelpay.com/product.jpg"
);
var_dump($res);
// Todo: $payUrl = $res['data']['url'];

Where can I get Appid and Appkey?

Register and open a merchant account, go to application management after login background, and create and apply for an application to get the corresponding Appied and Appkey.

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-15