var provider = this.payType==1?"wxpay":"alipay";
var orderid = obj.out_trade_no;
uni.getProvider({
service:"payment",
success:function(res){
if(res.provider.indexOf(provider)>=0){
uni.requestPayment({
provider:provider,
orderInfo:orderid,
complete:function(res){
this.$api.msg(res);
}.bind(this)
})
}else{
this.$api.msg("暂未开通该支付通道");
}
}.bind(this)
})
2***@qq.com
- 发布:2019-11-07 15:11
- 更新:2019-12-24 18:00
- 阅读:3405
能调启支付宝,提示:交易订单处理失败,提示码:ALI38173
分类:uni-app