close
The Wayback Machine - https://web.archive.org/web/20201019182228/https://github.com/lanlyhs/pay
Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

pay

翻译自 ChenSee/ChenPay

启动

  1. 获取 cookie 填到 index.js
  2. npm install
  3. fibjs index.js

获取支付宝 COOKIE

获取微信 COOKIE

  • 浏览器访问:https://wx.qq.com (此地址必须设置到后台支付设置里,登录完成后会有所变更)
  • 手机扫码登录微信账号
  • 浏览器按 f12
  • 找到 Network 并点击再刷新一下
  • 可以看到 webwxinit?r=******* 点击它
  • 点击 headers 它找到 Cookie: 后面就是 cookie (务必复制完整)

风险

支付宝

  1. 手机端会在支付时要求人脸识别。(遇到过一次)

  2. 请求 10s 一次的时候,几个小时后会导致 该接口被封,具体返回 频繁访问,预计封 24 小时。(目前是 2 分钟请求一次,有数据时是 10s 请求一次,还在测试中,log 地址 http://115.47.142.152:2020

微信

  • 暂未遇到

About

pay by fibjs

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.