Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提供插件支付功能 #3

Open
sl514 opened this issue Oct 11, 2021 · 0 comments
Open

提供插件支付功能 #3

sl514 opened this issue Oct 11, 2021 · 0 comments

Comments

@sl514
Copy link

sl514 commented Oct 11, 2021

  1. 首先每个插件必须有自己的唯一ID
  2. 每个用户必须有自己的唯一ID,这里可以使用公众号的openid/union_id来替代

1.用户打开插件 传出openid + plugin_id 到rubick服务器。
2.如果返回已经支付成功且未过期,则直接使用
3.如果显示未支付或已过期,则右上角出现支付按钮。点击支付按钮调用起native支付送给支付二维码。用户扫码支付。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant