thundernet8 / Alipayorderssupervisor
Licence: mit
✨ 使用Node监视支付宝订单,即时通知服务器以实现免签约支付接口
Stars: ✭ 384
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Alipayorderssupervisor
Apiproject
[https://www.sofineday.com], golang项目开发脚手架,集成最佳实践(gin+gorm+go-redis+mongo+cors+jwt+json日志库zap(支持日志收集到kafka或mongo)+消息队列kafka+微信支付宝支付gopay+api加密+api反向代理+go modules依赖管理+headless爬虫chromedp+makefile+二进制压缩+livereload热加载)
Stars: ✭ 124 (-67.71%)
Mutual labels: spider, alipay
Alipayorderssupervisor Gui
GUI of AlipayOrdersSupervisor, implemented in Java and Swing
Stars: ✭ 85 (-77.86%)
Mutual labels: spider, alipay
Celerystalk
An asynchronous enumeration & vulnerability scanner. Run all the tools on all the hosts.
Stars: ✭ 333 (-13.28%)
Mutual labels: spider
Freshonions Torscraper
Fresh Onions is an open source TOR spider / hidden service onion crawler hosted at zlal32teyptf4tvi.onion
Stars: ✭ 348 (-9.37%)
Mutual labels: spider
Fictiondown
小说下载|小说爬取|起点|笔趣阁|导出Markdown|导出txt|转换epub|广告过滤|自动校对
Stars: ✭ 362 (-5.73%)
Mutual labels: spider
Elves
🎊 Design and implement of lightweight crawler framework.
Stars: ✭ 315 (-17.97%)
Mutual labels: spider
Signature algorithm
各种App、小程序、网站的请求签名或加密算法。 现已有:自如、小红书、蛋壳公寓、luckin coffee(瑞幸咖啡)、bangkokair(曼谷航空)
Stars: ✭ 380 (-1.04%)
Mutual labels: spider
Wxapp Boilerplate
使用 webpack, babel, scss 开发的微信/支付宝小程序项目脚手架
Stars: ✭ 367 (-4.43%)
Mutual labels: alipay
Ttbot
今日头条机器人,支持用户登陆、关注、取消关注、获取关注粉丝、发文、发悟空问答、点赞、评论、采集各种类型新闻讯息等,使用今日头条网页版API实现
Stars: ✭ 338 (-11.98%)
Mutual labels: spider
Webster
a reliable high-level web crawling & scraping framework for Node.js.
Stars: ✭ 364 (-5.21%)
Mutual labels: spider
Weatherspider
天气爬虫(全国城镇天气自动定时抓取更新,并开放RESTful查询接口),附带代理IP池定时更新并检测其可用性
Stars: ✭ 337 (-12.24%)
Mutual labels: spider
Bilili
🍻 bilibili video (including bangumi) and danmaku downloader | B站视频(含番剧)、弹幕下载器
Stars: ✭ 379 (-1.3%)
Mutual labels: spider
Update 2018.2
目前支付宝已经加强了登录的校验,极大影响工具便利性,现在推出了另一种解决方案,见利用有赞云和有赞微小店实现个人收款解决方案提供一种思路参考,可以直接按此仓库使用的方法应用到自己的系统中,或使用该仓库作为一个独立的服务.
GUI 版 (Update 2017-08-17)
现已推出 GUI 版客户端,由 Java+Swing 编写,项目地址AlipayOrdersSupervisor-GUI
功能介绍
通过 NodeJS 爬取个人支付宝交易订单列表,分析订单中的备注,然后将订单数据推送至指定服务器,实现支付宝交易接口
自带了简单的日志和邮件通知功能,对系统异常及时报告以及记录
如何使用
-
- 请配置
lib/config.js
中的参数,如邮件 SMTP,推送服务器地址,以及pushStateSecret
,alipayCookies
等。
- 请配置
pushStateSecret
用于数据的加盐保证安全以及验证推送来源的合法性
pushAppId
和pushAppKey
暂时无用
alipayCookies
必须填写,这是为了爬取订单时保证登录状态
-
- 安装必要的 npm 包
npm install
-
- 使用
forever
循环运行脚本
- 使用
forever start index.js
或者使用 script
npm start
脚本会每分钟爬取一次订单列表
-
- 服务端处理
请参考脚本中利用pushStateSecret
生成签名的方法,验证数据合法性后进行业务处理
注 : 服务端返回success
文本后会将对应记录标记为已处理,后续不会再次推送
使用 Tips
目前该脚本已在我的个人网站 webapproach.net/shop 上稳定生产运行,对于 cookies 过期问题,从上一次 2017 年 2 月 25 日更换 cookies 起至今 (2017 年 6 月 13 日 ),已持续 3 个半月未遭遇 cookies 过期问题。因此可能建议:
- 没事不要去登录访问网页版的订单界面,当你关闭网页或网页上直接退出或者在网页停留过久无操作可能会触发服务端 session 更新 cookies 内容失效
License
AlipayOrdersSupervisor is freely distributable under the terms of the MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].