requestSKProducts/cancelRequestSKProducts
接口返回结果:"wx.miniapp.IAP.requestSKProducts res:" {errMsg: "takeIAPAction:ok", invalidProductIdentifiers: ["商品ID"], products: []}
invalidProductIdentifiers的原因是啥呀?
const requestObj = wx.miniapp.IAP.requestSKProducts({
productIdentifiers: [
'商品ID'
],
success(res) {
console.log('invalidProductIdentifiers: ', res.invalidProductIdentifiers)
console.log('products:', res.products)
},
fail(error) {
console.error('requestSKProducts failed:', error)
}
})
console.log('requestObj:', requestObj)
商品配置如下图:
https://developer.apple.com/documentation/storekit/skproductsresponse/1505985-invalidproductidentifiers?language=objc
应该是银行账户,税务那些没填好,按上面列表的检查填好是OK的