bizz84/SwiftyStoreKit

iAP Receipts Request Limits

Open

#447 opened on Mar 1, 2019

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Swift (6,419 stars) (792 forks)batch import
help wantedstatus: needs analysis

Description

Platform

  • [x ] iOS
  • macOS
  • tvOS

In app purchase type

  • Consumable
  • Non-consumable
  • [ x] Auto-Renewable Subscription
  • [ x] Non-Renewing Subscription

Environment

  • [ x] Sandbox
  • Production

Version

0.13.1

Related issues

couldn't find any

Report

Issue summary

Calling SwiftyStoreKit.verifyReceipt returns receipt with 200 old auto-renewals but no non-renewable purchases. SwiftyStoreKit.verifySubscription for nonRenewing product then says .notPurchased even though I bought it 2 minutes ago. Is there a limit for "in_app" list ? Is this just a sandbox thing or can this happen in production ? We're moving from auto-renewable to non-renewable subscriptions and sandbox account with lots of auto-renewals is unable to restore purchases because of this. Other accounts with less or none auto-renewable items work fine.

What did you expect to happen

verifySubscription should find the latest non-renewable subscription purchase

What happened instead

verifySubscription returns .notPurchased

Contributor guide