bizz84/SwiftyStoreKit

Cannot connect to iTunes Store when purchasing

開放

#377 建立於 2018年6月6日

 (23 則留言) (6 個反應) (0 位負責人)Swift (792 個分叉)batch import
area: purchase flowsdifficulty: intermediatehelp wantedtype: bug

倉庫指標

星標
 (6,419 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Platform

  • iOS
  • macOS
  • tvOS

In app purchase type

  • Consumable
  • Non-consumable
  • Auto-Renewable Subscription
  • Non-Renewing Subscription

Environment

  • Sandbox
  • Production

Version

0.13.2

Report

Issue summary

In my new app, I see a lot of failed purchases all with the same error: Cannot connect to iTunes Store

I've read that this happens If the user cancels, receipt refresh will fail with a Cannot connect to iTunes Store error. So basically on a receipt refresh. But it happens to me when users are trying to purchase...

I only use the SwiftyStoreKit.purchaseProduct(product) method and no refresh method. Also, I have like 4 times the number of fails instead of successes. This is kind of suspicious to me...

Do others also have this high amount of fails? Or even the same error message on the fail?

貢獻者指南