benjaminmayo / merchantkit

A modern In-App Purchases management framework for iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seems like MerchantDelegate Regression

denandreychuk opened this issue · comments

After updated to 0.14.0, MerchantDelegate don't calls didChangeStatesFor method in Sandbox when subscription expired. For example, I bought weekly subscription = 3 min period in Sandbox, but delegate method don't calls.

The validators now have an inbuilt leeway. The reason for this is that the iTunes Store server does not send renewal receipts in a timely fashion. It can sometimes take many days past the renewal date for the device to receive a fresh receipt. The current framework default is 30 days. You can customize the configuration if you need to use a different leeway period.