Unverified 提交 e04f808b authored 作者: JarvanMo's avatar JarvanMo 提交者: GitHub

Update PAYMENT_CN.md

上级 35f21e6c
......@@ -14,22 +14,6 @@ fluwx.pay(
sign: result['sign'].toString(),
));
* 使用
```dart
await fluwx.registerWxApi(
appId: "wx84cfexxxxxx",
universalLink: "https://www.xxxx.cn/app/");
fluwx.payWithWeChat(
appId: result['appid'],
partnerId: result['partnerid'],
prepayId: result['prepayid'],
packageValue: result['package'],
nonceStr: result['noncestr'],
timeStamp: result['timestamp'],
sign: result['sign'],
)
```
......@@ -45,24 +29,5 @@ fluwx.pay(
![image-20210523133551034](https://gitee.com/inkkk0516/typora/raw/master/image-20210523133551034.png)
* 使用
```dart
// 注册
await fluwx.registerWxApi(
appId: "wx84cxxxxxx",
universalLink: "https://www.xxxx.cn/app/");
// 监听支付结果
fluwx.weChatResponseEventHandler.listen((event) async {
print(event.errCode);
// 支付成功
if (event.errCode == 0) {
}
// 关闭弹窗
});
```
更多信息还查看[支付文档](https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=11_1#)吧.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论