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.

貢獻者指南