bizz84 / SwiftyStoreKit

Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺
MIT License
6.56k stars 797 forks source link

No restore or purchase possible- extreme Bug!!! #416

Open ulbertain opened 6 years ago

ulbertain commented 6 years ago

Platform

In-app purchase type

Environment

Version

0.13.3

Related issues

Report

Issue summary

If the user quits the app while non-consumable items are either restored or downloaded or purchased, there will be no possibility of purchasing or restoring items when reopening the app. The only thing helping is pressing the home button and on/off button for a soft reset. After this, it will work again... So what am I doing wrong or how can I solve this? I have included the finish transaction in my app delegate btw...

What did you expect to happen

Restore / purchase possible

What happened instead

Nothing... Pressing the buttons was without any effect...

Starsky89 commented 5 years ago

Some code will be helpful. How do you handle purchaseProduct and restoreProduct?

FlashTang commented 5 years ago

I have the similar issue, Purchase Success: com.test.test.rocket then I restart the app verifyPuerchase output: The user has never purchased: com.test.test.rocket but other subscription purchases are works fine , but non-consumable not works ,just ouput never purchased , but the restore always succees ios 11 ipad mini2 Xcode 10.1 , Swift 4.2 , SwiftyStoreKit , 0.13.3 P.S. sometimes it works ,but next restart may not work

cwestMobile commented 5 years ago

Was this ever resolved? Is this only with Non-consumables?