bizz84/SwiftyStoreKit

Can't restore purchases if promo code is used

开放

#262 创建于 2017年8月31日

 (13 条评论) (3 个反应) (0 位负责人)Swift (792 个派生)batch import
area: receipt-validationdifficulty: advancedhelp wantedtype: enhancement

仓库指标

星标
 (6,419 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南