refresh receipt and validate afterwards #42
Labels
answered
Questions which have accepted answers.
area: receipt-validation
validating receipts for customer or purchase verification
difficulty: intermediate
this issue is tough, contributions welcome
type: question
So if I understand right, I can refresh the receipt if there is no receipt present, while verifying the receipt with:
SwiftyStoreKit.refreshReceipt
But after doing this, would't it be right to verify the refreshed receipt again calling
SwiftyStoreKit.verifyReceipt
?But in the completion handler I cannot access the product the receipts belongs to. I have nonconsumable products and autorenewing subscriptions, so I'm not able to choose the right verification method.
In your example you just refresh the receipt without doing anything with it, what's the purpose of this?
Thanks
The text was updated successfully, but these errors were encountered: