Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xu42/pay
个人网站即时到账收款解决方案 / Personal website instant payment solution
https://github.com/xu42/pay
alipay cashier pay payment personal realtime wechat youzan
Last synced: 10 days ago
JSON representation
个人网站即时到账收款解决方案 / Personal website instant payment solution
- Host: GitHub
- URL: https://github.com/xu42/pay
- Owner: xu42
- License: mit
- Archived: true
- Created: 2017-11-25T13:50:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-28T10:59:13.000Z (over 5 years ago)
- Last Synced: 2024-07-31T12:08:07.601Z (3 months ago)
- Topics: alipay, cashier, pay, payment, personal, realtime, wechat, youzan
- Language: PHP
- Homepage: https://pay.xu42.com/
- Size: 19.5 KB
- Stars: 548
- Watchers: 16
- Forks: 110
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- favorite-link - 个人网站即时到账收款解决方案。
README
# pay
个人网站即时到账收款解决方案
Personal website instant payment solution
## Links
- [Tutorial](https://blog.xu42.com/2017/11/26/person-website-instant-payment-solution/)
- [Demo](https://pay.xu42.com)## SDK
- [youzan-sdk-go](https://github.com/xu42/youzan-sdk-go)
- [youzan-sdk-php](https://github.com/xu42/youzan-sdk-php)## Deploy
### 只提供一个思路, 不推荐部署在生产环境1. 按照博客文章里的提示, 打开[控制台](https://console.youzanyun.com/application/setting), 记下client_id/client_secret/授权店铺id, 补充到[YouzanYunService](src/Service/YouzanYunService.php)文件里
2. 如果没有域名证书或不打算使用, 需要修改[index.php](public/index.html)中的`wss` 为 `ws`, 并删除[start.php](src/start.php)中的`ssl`相关的代码
3. 全局搜索替换`pay.xu42.cn`为你的域名
4. 涉及到的几个端口号可以自行修改(为什么是这几个端口号? 哈哈 好问题 `119`是我女朋友生日~)
5. 飞起来 `php /path/src/start.php`
## Contact
- [微信公众号留言入群](https://open.weixin.qq.com/qr/code?username=gh_4a7a236c1af2)
- [Telegram Group](https://t.me/OurPay)