1、通过 iap.createPurchase 创建iap订单
2、支付报错:“message”:“BusinessError 1001860051: Failed to purchase a product because the user already owns the product. ITEM\_ALREADY\_OWNED”}
问题:消耗型商品应该支持连续购买,但当前无法连续购买。(DB1时没有这个问题)
1、通过 iap.createPurchase 创建iap订单
2、支付报错:“message”:“BusinessError 1001860051: Failed to purchase a product because the user already owns the product. ITEM\_ALREADY\_OWNED”}
问题:消耗型商品应该支持连续购买,但当前无法连续购买。(DB1时没有这个问题)
1 回答1.1k 阅读✓ 已解决
1 回答1.3k 阅读
1 回答1.2k 阅读
1 回答1.1k 阅读
1 回答1.1k 阅读
1 回答970 阅读
1 回答943 阅读
若商品为消耗型商品,检查商品是否发货,确认发货成功之后调用finishPurchase接口完成购买,下次可正常购买。
参考以下文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/iap-error-code-V5
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/iap-iap-V5\#section124751324135814