benjaminmayo / merchantkit

A modern In-App Purchases management framework for iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto-renewable subscription issue

endogenesis opened this issue · comments

Environment: sandbox
It seems that after purchasing an auto-renewable subscription, it will forever remain in .purchased status, regardless of expire date.

Example on screenshot:
Screen Shot 2020-08-31 at 23 45 34

This is working as intended. The expiryDate in the info is based on the data from the last fetched receipt. There is a 30-day buffer which gives time for the iTunes Store to send new receipts. It can be slow to refresh sometimes and MerchantKit's default policy is forgiving. You can customize this period of time by changing the configuration, but I don't recommend it.

I was wondering the same, thanks for the explanation!
@benjaminmayo do you perhaps have some instructions/recommendations for expiry testing (in sandbox)?