-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
苹果应用内支付IAP,消耗型商品,只能成功购买一次 #621
Comments
补充测试结果: // 用这个方法测试没有问题,但是没有iap收据信息
uni.requestPayment({
provider: 'appleiap',
orderInfo: {productid: IAPOrders[0]},
success (iap) {
console.log('--- IAP', iap)
},
fail (err) {
console.error(err)
}
}) |
再次补充: |
为何没人理? |
沙箱环境有此问题,正式发布后正常 |
经测试,确实是沙箱环境问题。线上的IAP支付很稳。 |
IAP支付回调问题下版修复,当前版本解决方案 plus.payment.request ,参考文档 http://www.html5plus.org/doc/zh_cn/payment.html#plus.payment.request |
请问上边那个弹框:你已成功购买苹果内购项目,这个弹框真实环境会有嘛?因为用户不点这个不走回调。我想问问是不是真实环境下没有这个弹框 |
有人吗,为什么 沙盒测试 plus.payment.request 也是没有回调呢? 界面都弹窗支付成功了也显示购买成功了 |
相同的沙箱账号是不是已经购买过,换个沙箱账号试试 |
问题描述
iap消耗型购买有问题,支付成功一次后,后面支付就会提示“您已购买此App内购买项目。”此项目将免费恢复。
查了iap支付的方法,uni-app可能忘记在成功购买消耗型商品后调用
复现步骤
The text was updated successfully, but these errors were encountered: