一款适用于原版彩虹易支付的USDT(TRC20)收款插件,收到的货币直接到自己钱包,不经过任何第三方。
One applies to an easy-to-pay USDT (TRC20) collection plugin in the original rainbow, in which the currency received is directed to its own wallet and is not passed through any third party.
本源码仅供个人学习研究所用,任何人或组织用作他用,产生的任何后果 责任自负。
The source code is only for personal study institutes, and any person or organization uses it for other purposes, and any consequences that arise are self-responsible.
-
新增一种支付方式,调用值必须设置为usdt,显示名称无所谓,支持设备选PC+Mobile
Add a payment method where the call must be set to usdt to show that the name doesn't matter and to support the PC+Mobile selection of the device
-
将本项目直接打包下载,随后解压得到一个文件夹,再将文件夹重命名为usdt;然后将整个文件夹上传到易支付网站的plugins目录。
Reloads this item directly and then unmasks a folder and renames the folder to usdt; then uploads the entire folder to the plugins directory of the easy-to-pay site.
-
登录易支付后台,刷新支付插件之后便能看到一个USDT 收款插件;随后便能按照正常流程添加支付通道。
Login is easy to pay backstage and a USDT collection plugin can be seen after refreshing the payment plugin; then the payment channel can be added to the normal process.
配置密钥解释:
Configure key explanation:
- 添加回调监控(宝塔环境)
拿到服务器php的执行路径,不出意外的话都是/usr/bin/php
/usr/bin/php if not unexpected
拿到插件文件cron.php对于服务器的绝对路径,示例:/www/wwwroot/你的域名/plugins/usdt/cron.php
For example: /www/wwwroot/your domain name/plugins/usdt/cron.php
需要监控的通道ID,比如我的是1,在支付后台支付通道可见。
Passage IDs, like mine, can be seen at the back of the payment.
将三个数据使用空格连起来,得到完整的监控脚本:
Linking three data using spaces with complete monitoring scripts:
宝塔计划任务,添加一个shell脚本,执行周期为1分钟,脚本内容便是上面的监控脚本,添加即可。
The Bolta mission is to add a shell script with a one-minute implementation cycle, which will contain the above watch script and add it.
手动执行一次,如果日志没有发现报错则运行正常。
Execute manually once and function normally if the log does not find a report of error.
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论