小游戏虚拟支付wx.requestMidasPayment,沙箱环境1003错误
小游戏虚拟支付wx.requestMidasPayment,沙箱环境1003错误,设置的虚拟货币兑换比例为:1元=10钻石。
![](https://image.wxopen.club/content_21accd80-385d-11ea-af8d-001a7dda7111.png)
当buyQuantity=10时,报1003错误;当buyQuantity=100时,没有报1003错误。
buyQuantity=10
![](https://image.wxopen.club/content_21cb6410-385d-11ea-b631-001a7dda7111.png)
![](https://image.wxopen.club/content_21e9d402-385d-11ea-ac66-001a7dda7111.png)
buyQuantity=100
![](https://image.wxopen.club/content_2205fb50-385d-11ea-b857-001a7dda7111.png)
![](https://image.wxopen.club/content_2222be52-385d-11ea-b8a9-001a7dda7111.png)
因为虚拟货币兑换比例为:1元=10钻石,购买数量为10,不应该报错,购买数量为100才应该报错,为什么相反了呢?是不是因为米大师后台配置的兑换比例没有生效?最开始我是配置100的,未上线之前后面改成10,前端页面显示的也是10
麻烦解答下~
appid:wx7bf103b9d7442970