Swiftystorekit: Restore doesn't work /w IAP Promo Code

Created on 30 Nov 2016  路  4Comments  路  Source: bizz84/SwiftyStoreKit

Platform

  • [x] iOS
  • [ ] macOS
  • [ ] tvOS

In app purchase type

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

Environment

  • [ ] Sandbox
  • [x] Production

Version

0.5.5

Report

Issue summary

I use the default "SwiftyStoreKit.restorePurchases". It's works great (if previously bought the iap from the app), but I generated some IAP promo code and always get:

   else {
        print("Nothing to Restore")
    }

I wanted add new promo code to my account, but it's not possible because app store said that already have that iap.

Thanks

question

Most helpful comment

It's still a problem and doesn't work. Neither with auto-renewing subscriptions.

All 4 comments

Did you try to delete the app, reinstall it and then try to restore? If you already bought the iAP, there is nothing to be restored. I have successfully redeemed promo codes on my live app.

I'm not too familiar with how promo codes work with StoreKit.

I would suggest updating to the latest SwiftyStoreKit and do as @aguila9 suggests.

If there are no updates to this issue in the next few weeks I will close it.

@designedbyadam closing this due to inactivity. Feel free to reopen if it's still a problem.

It's still a problem and doesn't work. Neither with auto-renewing subscriptions.

Was this page helpful?
0 / 5 - 0 ratings