1. 程式人生 > >微信公眾號支付 錯誤chooseWXPay:fail, the permission value is offline verifying

微信公眾號支付 錯誤chooseWXPay:fail, the permission value is offline verifying

一是在模擬器中實行發起支付,要在真機是發起

二是微信公眾號支付授權目錄要填寫實際發起支付的url地址,比如你的頁面是http://www.newfms.com/order/pay/id-115,那麼此處應該填http://www.newfms.com/order/pay/

 

如果在uni-APP 生成的h5網址結構中

比如:https://www.xxxx.cn/h5/#/pages/shop_cart/shop_cart

這類的,增加支付授權目錄https://www.xxxx.cn/h5/