Closed nnhubbard closed 10 years ago
[SFHFKeychainUtils deleteItemForUsername:@"your.iap.id" andServiceName:@"IAPHelper" error:nil]; // reset previous purchase
Thank @macbearchen.
@nnhubbard , now , you can use like following
[[IAPShare sharedHelper].iap clearSavedPurchasedProducts];
[[IAPShare sharedHelper].iap clearSavedPurchasedProductByID:@"com.myproduct.id"];
When in development, we are making sure to test what happens when we purchase a product. But, since that is saved in the keychain as purchased, how can we clear that out, so we can test it again?