anystone/AnystoneStoreKit — Issue #11: What happens when the subscription date is here?
Author: markrickert
Created: 2011-12-14 22:50:43+00:00
State: open

So, first, let me say that this library is *SO* much easier to implement than _"the other one"_. Love how easy it is to understand what's going on! Thank you SO MUCH for putting this out there.

I'm implementing the ASTStoreController without the related ViewController since I already have the view written.

My question is regarding what happens when the subscription date approaches and then is here. Say the user opens my app and their 1-month term subscription has JUST passed and it has renewed with Apple. If I understand the documentation correctly for subscriptions, each subscription term generates a new receipt, thus invalidating the original receipt (and obviously, the expiration date for the original receipt will be in the past so expiryDateForProduct: will return a date in the past.)

How do I go about validating the new receipt data to make sure the new monthly term is valid? Any help would be appreciated.

Thanks again for the great library, and I hope to hear from you soon (trying to get this thing submitted and approved before Christmas, but that might not happen ಠ_ಠ ).