{"id":13547324,"url":"https://github.com/Vpay-Collection/VPay","last_synced_at":"2025-04-02T19:32:58.989Z","repository":{"id":48192213,"uuid":"193351185","full_name":"Vpay-Collection/VPay","owner":"Vpay-Collection","description":"个人第四方收款方案","archived":false,"fork":false,"pushed_at":"2023-12-18T08:55:41.000Z","size":53695,"stargazers_count":232,"open_issues_count":0,"forks_count":77,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-03T15:38:37.715Z","etag":null,"topics":["alipay","non-signature","personal-payment","vpay","wechat"],"latest_commit_sha":null,"homepage":"https://pay.ankio.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vpay-Collection.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-06-23T13:26:27.000Z","updated_at":"2024-10-04T04:31:30.000Z","dependencies_parsed_at":"2024-01-14T02:41:00.180Z","dependency_job_id":"9a1746b0-393a-4b2b-83d5-258fa1657948","html_url":"https://github.com/Vpay-Collection/VPay","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpay-Collection%2FVPay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpay-Collection%2FVPay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpay-Collection%2FVPay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vpay-Collection%2FVPay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vpay-Collection","download_url":"https://codeload.github.com/Vpay-Collection/VPay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246880333,"owners_count":20848842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alipay","non-signature","personal-payment","vpay","wechat"],"created_at":"2024-08-01T12:00:53.978Z","updated_at":"2025-04-02T19:32:55.502Z","avatar_url":"https://github.com/Vpay-Collection.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":" \u003cp align=\"center\"\u003e\n\u003cimg src=\"./image/cover.png\"\u003e\n\u003c/p\u003e\n\n\n\u003ch3 align=\"center\"\u003e🚀 Vpay 服务端\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://img.shields.io/static/v1?label=licenes\u0026message=GPL%20V3\u0026color=important\u0026style=for-the-badge\"/\u003e\n \u003cimg src=\"https://img.shields.io/static/v1?label=version\u0026message=4.2.0\u0026color=9cf\u0026style=for-the-badge\"/\u003e\n \u003cimg src=\"https://img.shields.io/static/v1?label=language\u0026message=php\u0026color=777BB4\u0026style=for-the-badge\"/\u003e\n\n\u003c/p\u003e\n\n### ️⚠️ 警告 \n\n- 手机二维码监听收款是异地收款，收款频率高可能导致风控；\n- 云端监听收款风险同上；\n\n## 按需选择\n\n1. `master`分支版本为4.0系列全面重构的版本，仅支持`支付宝当面付`；\n2. `dev`分支版本为[3.0系列](https://github.com/Vpay-Collection/VPay/releases/tag/3.1)稳定版本，仅支持`支付宝当面付`；\n3. 旧版稳定版请使用[2.0系列](https://github.com/Vpay-Collection/VPay/releases/tag/2.4)版本，配合[官方App](https://github.com/Vpay-Collection/vmqApk/releases/tag/v1.8.2)使用，支持手机端二维码监听收款。\n\n## 简介\n\nVpay ——一款个人收款解决方案，使个人开发者能够安全高效地处理在线交易。\n\n\n## 安装指南\n\n### 服务端安装\n\u003e 以下两种方案三选一\n#### 一、宝塔面板一键部署\n\n1. 导入项目到宝塔面板\n![img.png](img.png)\n2. 点击一键部署，填入域名后点提交即可\n![img_1.png](img_1.png)\n\n#### 二、手动部署\n\n1. 导入项目到网站文件夹下\n2. 配置运行目录为`/public`\n3. 配置伪静态\n```\nif ($uri ~* \"^(.*)\\.php$\") {\n    rewrite ^(.*) /cleanphp/bootstrap.php last;\n}\n\nlocation @cleanphp {\n    rewrite ^ /cleanphp/bootstrap.php last;\n}\nlocation ~* ^\\/@static(.*)$ {\n    if_modified_since before;\n       expires 30d;\n        access_log off;\n        add_header Cache-Control \"public\";\n\n    try_files /app/public$1 /app/public/$1 /app/public$1/index.html /app/public/index.html =404 last;\n}\nlocation ~* ^\\/@(.*)$ {\n  if_modified_since before;\n       expires 30d;\n        access_log off;\n        add_header Cache-Control \"public\";\n    try_files /app/public$1 /app/public/$1 /app/public$1/index.html /app/public/$1/index.html  /app/public/index.html last;\n}\n\n\nlocation / {\n if_modified_since before;\n       expires 30d;\n        access_log off;\n        add_header Cache-Control \"public\";\n     try_files /app/public/$uri  @cleanphp;\n}\n\n\n\n```\n4. 如果使用宝塔面板部署，请**务必删除**宝塔默认配置的以下配置文件\n```\n    location ~ .*\\.(gif|jpg|jpeg|png|bmp|swf)$\n    {\n        expires      30d;\n        error_log /dev/null;\n        access_log /dev/null;\n    }\n\n    location ~ .*\\.(js|css)?$\n    {\n        expires      12h;\n        error_log /dev/null;\n        access_log /dev/null;\n    }\n```\n\n\n\n### 服务端配置\n\n1. 申请[支付宝当面付](https://open.alipay.com/intergraAssist/SC00002242?projectId=1487001107)\n- 【扫码支付】-【自研】，根据页面提示的接入准备完成当面付接入\n2. 填写当面付信息\n3. 配置邮件通知\n![img_4.png](img_4.png)\n\n### 接入Vpay支付\n\n参考[vpay-sdk](https://github.com/Vpay-Collection/vpay-sdk)进行接入\n\n## 文档\n\n[阅读文档](https://vpay.ankio.net/)\n\n\n## 开源协议\n\nGPL V3\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVpay-Collection%2FVPay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FVpay-Collection%2FVPay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVpay-Collection%2FVPay/lists"}