Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Vpay-Collection/VPay
个人第四方收款方案
https://github.com/Vpay-Collection/VPay
alipay non-signature personal-payment vpay wechat
Last synced: 10 days ago
JSON representation
个人第四方收款方案
- Host: GitHub
- URL: https://github.com/Vpay-Collection/VPay
- Owner: Vpay-Collection
- License: gpl-3.0
- Created: 2019-06-23T13:26:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-18T08:55:41.000Z (11 months ago)
- Last Synced: 2024-08-02T12:23:41.767Z (3 months ago)
- Topics: alipay, non-signature, personal-payment, vpay, wechat
- Language: JavaScript
- Homepage: https://pay.ankio.net
- Size: 51.2 MB
- Stars: 230
- Watchers: 4
- Forks: 77
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🚀 Vpay 服务端
### ️⚠️ 警告
- 手机二维码监听收款是异地收款,收款频率高可能导致风控;
- 云端监听收款风险同上;## 按需选择
1. `master`分支版本为4.0系列全面重构的版本,仅支持`支付宝当面付`;
2. `dev`分支版本为[3.0系列](https://github.com/Vpay-Collection/VPay/releases/tag/3.1)稳定版本,仅支持`支付宝当面付`;
3. 旧版稳定版请使用[2.0系列](https://github.com/Vpay-Collection/VPay/releases/tag/2.4)版本,配合[官方App](https://github.com/Vpay-Collection/vmqApk/releases/tag/v1.8.2)使用,支持手机端二维码监听收款。## 简介
Vpay ——一款个人收款解决方案,使个人开发者能够安全高效地处理在线交易。
## 安装指南
### 服务端安装
> 以下两种方案三选一
#### 一、宝塔面板一键部署1. 导入项目到宝塔面板
![img.png](img.png)
2. 点击一键部署,填入域名后点提交即可
![img_1.png](img_1.png)#### 二、手动部署
1. 导入项目到网站文件夹下
2. 配置运行目录为`/public`
3. 配置伪静态
```
if ($uri ~* "^(.*)\.php$") {
rewrite ^(.*) /cleanphp/bootstrap.php last;
}location @cleanphp {
rewrite ^ /cleanphp/bootstrap.php last;
}
location ~* ^\/@static(.*)$ {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";try_files /app/public$1 /app/public/$1 /app/public$1/index.html /app/public/index.html =404 last;
}
location ~* ^\/@(.*)$ {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";
try_files /app/public$1 /app/public/$1 /app/public$1/index.html /app/public/$1/index.html /app/public/index.html last;
}location / {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";
try_files /app/public/$uri @cleanphp;
}```
4. 如果使用宝塔面板部署,请**务必删除**宝塔默认配置的以下配置文件
```
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
error_log /dev/null;
access_log /dev/null;
}location ~ .*\.(js|css)?$
{
expires 12h;
error_log /dev/null;
access_log /dev/null;
}
```### 服务端配置
1. 申请[支付宝当面付](https://open.alipay.com/intergraAssist/SC00002242?projectId=1487001107)
- 【扫码支付】-【自研】,根据页面提示的接入准备完成当面付接入
2. 填写当面付信息
3. 配置邮件通知
![img_4.png](img_4.png)### 接入Vpay支付
参考[vpay-sdk](https://github.com/Vpay-Collection/vpay-sdk)进行接入
## 文档
[阅读文档](https://vpay.ankio.net/)
## 开源协议
GPL V3