GithubHelp home page GithubHelp logo

mypay's Introduction

收款二维码合并

原理

扫描二维码后跳转到此页面,然后根据 UA 判断具体平台。
支付宝为:AlipayClient
微信为:MicroMessenger
QQ/TIM为:QQ
然后根据平台进行跳转,支付宝可以直接跳转到收款链接,而微信和QQ只能跳转到二维码进行付款。
同理可以添加其他平台的支付方式。

配置

1.更换支付宝收款链接

保存支付宝收款二维码,使用二维码识别软件进行识别,得到链接。
得到的链接是大写的,不要进行任何处理或转换成小写
然后将 index.html 中的变量 alipayURL 改为自己的支付宝收款链接。

2.更换微信二维码

保存微信收款二维码,放到 static/ 文件中,并命名为 wechat.png

3.更换QQ二维码

保存QQ收款二维码,放到 static/ 文件中,并命名为 qq.png

4.设置为 Github Pages

选择 Settings --> GitHub Pages 设置为 Github Pages
如果没有通过 ICP 备案的域名建议不要使用自定义域名,会被微信拦截
设置成功后得到链接,使用链接生成二维码即可。

mypay's People

Contributors

1115862511 avatar fonshare avatar senventise avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.