PHP code example of edk24 / 365bit
1. Go to this page and download the library: Download edk24/365bit library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
edk24 / 365bit example snippets
// 创建订单并发送请求
$order_no = md5(time());
$a = new Pay('5', '');
var_dump($a->create('27029049', 'alipay', $order_no,299, md5(5))->send());
// 查询CNY和USDT的兑换比例
var_dump($a->rateUSDTCNY());
// 查询订单
var_dump($a->queryRechargeTrade($order_no));