微信版本号:8.0.68
基础库版本:3.14.1
系统版本:17.2.1
设备型号:iPhone 13
我们正在参考接入文档
https://developers.weixin.qq.com/community/minigame/doc/000c64ee1b4ea0cead742304663408
,接入微信小游戏iOS虚拟支付,后台 MP-虚拟支付-iOS资金概况 也是已签约的状态。调用的客户端接口是:wx.requestMidasPaymentGameItem接口,其中signData的值为:'{"mode":"coins","offerId":"xxx","buyQuantity":100,"env":0,"currencyType":"CNY","zoneId":"1","productId": "xxx","goodsPrice":100,"outTradeNo":"xxxxxx"}',paySig和signature都是从我们服务端获取到的签名信息。目前接口调用一直报错{"errMsg":"requestMidasPaymentGameItem:fail MODE_WRONG","errCode":-15002},想问下是什么原因?
另外,文档中有说明:product_id不用填写,但是signData中如果不设置productId,接口就会报错:{"errMsg":"requestMidasPaymentGameItem:fail PRODUCT_ID_EMPTY","errCode":-15002},所以想确认下productId的值是否要设置。
