Open nenhall opened 3 years ago
I also encountered this problem
Same problem, in-app non-consumable purchase verification always fails. I've checked it on 3 different devices
Platform Information
OS: iOS 15.5 Purchase Type: non-consumable Environment: [sandbox, production] SwiftyStoreKit version: 0.16.1
I have the same problem too
Yes, same problem here as well!
FYI, because of the issues with SwiftyStoreKit I refactored today one of my apps to StoreKit 2 - with the help of Mercato.
I merged this PR which seems to have fixed it for me: https://github.com/bizz84/SwiftyStoreKit/pull/640
Bug Report
I also encountered the same problem, and the product type is:
nonConsumable
; it can be verified during normal purchase, and every time the purchase is verified throughrestorePurchases
, it will returnnotPurchased
; The same operation, verify that there is no problem withautoRenewable
;The following code is not a complete code, it is my approximate operation at the time
To Reproduce Steps to reproduce the behavior: Step 1 : Call “restorePurchases()” method Step 2 : In the callback of
restorePurchases(completion: ...)
method, -> CallverifyReceipt(using: ...)
method, and returncase .success( receiptInfo )
, -> CallverifyPurchase(productId: ...)
method verifying that the purchase Step 3 : When the product type isnonConsumable
, always return "notPurchased"Additional : In the callback of
restorePurchases(completion: ...)
,printresults.restoredPurchases
, It is able to see the corresponding commodity purchase record。Expected behavior Able to restore purchase successfully,Actually it is a successfully purchased product。
Platform Information