2023-12-11
Hello,
The issues we previously identified still need your attention.
If you have any questions, we are here to help. Reply to this message in App Store Connect and let us know.
Guideline 2.1 - Performance - App Completeness
We found that your in-app purchase products exhibited one or more bugs which create a poor user experience. Specifically, your VIP was not responsive. Please review the details and resources below and complete the next steps.
Review device details:
- Device type: iPhone
- OS version: iOS 17.1.2
Next Steps
When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.
Resources
- Learn how toset upandtestin-app purchase products in the sandbox environment.
- For more information on receipt validation, see theIn-App Purchase FAQ.
- If your app makes aSKReceiptRefreshRequestcall and fails, do not retry the call. Assume the user does not have access. Continue by making theaddPaymentcall.
- If your app makes aSKReceiptRefreshRequestcall to restore previously purchased in-app purchases, make sure the app callsrestoreCompletedTransactionswhen the user selects the "Restore" button.
Please see attached screenshot for details.
问题分析:
因为只有一个订阅,默认没有选中,支付按钮可点击
当点击时候,因为没有选中的商品,也没有处理未选中商品的逻辑,所以给用户的感觉是点击没回应。
尝试解决方案:
1. 默认选中一个商品
2. 当没有选中商品时候,支付按钮点击吐司提示用户去选择一个商品再点击购买