bizz84/SwiftyStoreKit

Can't restore purchases if promo code is used

Open

#262 建立於 2017年8月31日

在 GitHub 查看
 (13 留言) (3 反應) (0 負責人)Swift (792 fork)batch import
area: receipt-validationdifficulty: advancedhelp wantedtype: enhancement

倉庫指標

Star
 (6,419 star)
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.

貢獻者指南