bizz84/SwiftyStoreKit

Can't restore purchases if promo code is used

Open

#262 opened on Aug 31, 2017

View on GitHub
 (13 comments) (3 reactions) (0 assignees)Swift (792 forks)batch import
area: receipt-validationdifficulty: advancedhelp wantedtype: enhancement

Repository metrics

Stars
 (6,419 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Platform

  • [x ] iOS
  • macOS
  • tvOS

In app purchase type

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

Environment

  • [ x] Sandbox
  • [x ] Production

Version

0.10.7

Related issues

Report

Issue summary

If I use a in-app purchase promo code, when restoring the app says it has found no restored purchases. If the item is normally bought it works fine. Promo codes both in production and while testing don't seem to be recognised by SwiftyStoreKit.

What did you expect to happen

I expected to restore the purchase (purchased trough promo code)

What happened instead

The app found nothing to restore.

Contributor guide