简体   繁体   English

iOS IAP问题-用户必须确认信用卡时,iOS仍保留在App Store中

[英]iOS IAP issue - when user has to confirm credit card, iOS remains on App Store

We are encountering an occasional issue which runs thus: 我们偶尔遇到这样的问题:

  • A user's first purchase on a new device happens to be an IAP using our app 用户在新设备上的首次购买恰好是使用我们的应用的IAP
  • iOS asks them to confirm their credit card details because they've not used the device before. iOS要求他们确认其信用卡详细信息,因为他们以前没有使用过该设备。
  • It appears to take them to the App Store app to fill in these details 似乎将它们带到App Store应用程序以填写这些详细信息
  • When they've done this, they are left sitting in the app store 完成此操作后,他们将留在应用商店中
  • If they manually return to our app, the purchase has failed, but they have been charged 如果他们手动返回到我们的应用程序,则购买失败,但已被收取费用
  • Restarting the app doesn't help 重新启动应用程序无济于事

We have spotted revisions which should help, but has anyone else had an issue with iOS not coming back to their app in this situation, and possibly therefore not communicating the purchase success? 我们发现了应该有帮助的修订,但是在这种情况下,是否还有其他人遇到iOS无法回到其应用程序的问题,因此可能无法传达购买成功的信息?

What is the IAP process if a user returns to the app manually? 如果用户手动返回到应用程序,那么IAP流程是什么?

So I'd recommend having your coder come here and maybe talk a bit about how you're implementing StoreKit . 因此,我建议您的编码器来这里,或者谈论一下您如何实现StoreKit The system is designed to cope with edge cases where users are taken away from the app and don't go back, but you have to implement the SKPaymentTransaction observer correctly. 该系统旨在处理SKPaymentTransaction情况,在这种情况下,用户被带离了应用程序并且不回去,但是您必须正确地实现SKPaymentTransaction观察器。 A common mistake initialise the transaction observer when the user goes to purchase an item, but this is wrong. 一个常见的错误是在用户购买商品时初始化交易观察者,但这是错误的。 The observer needs to be around from application launch. 观察者需要从应用程序启动开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM