openBusinessView method
调起支付分
- 免确认模式:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_7.shtml
- 需确认授权:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_11.shtml
- 拉起小程序:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_23.shtml
Implementation
@override
Future<void> openBusinessView({
required String businessType,
String? query,
String? extInfo,
}) {
return methodChannel.invokeMethod<void>(
'openBusinessView',
<String, dynamic>{
'businessType': businessType,
if (query != null) 'query': query,
if (extInfo != null) 'extInfo': extInfo,
},
);
}