uni.getProvider({
service: 'payment',
success: function(res) {
uni.showToast({
icon:'none',
title:res.provider.toString()
})
// if (~res.provider.indexOf('stripe')) {
console.log("res===: ",JSON.stringify(res));
// }
return;
uni.requestPayment({
provider: "stripe",
orderInfo: orderInfo,
success(res) {
console.log("requestPayment Success: "+JSON.stringify(res));
},
fail(e) {
console.log("requestPayment failed: "+JSON.stringify(e));
}
});
},
});

2***@qq.com
- 发布:2022-04-13 10:21
- 更新:2024-06-27 16:54
- 阅读:747
uni.getProvider请求 payment类型返回的没有stripe参数
分类:HBuilderX
3 个回复
1***@qq.com
请问问题解决了吗,我也遇到了
3***@qq.com
咋解决的,我也遇到了
l***@gmail.com
我也遇到了