I am testing a monthly renewing subscription and it’s going great with RevenueCat (thank you).
I enabled the grace period on the subscription in the app store for sandbox only. I want to test it, to see what happens and what my app will do. I imagine, there will be one of these “Had a billing issue” events in the customer history and the subscription entitlement will remain active.
But my question is, do I have to just wait for the sandbox to throw one of these billing issues into the mix and continually refresh the page waiting for it? It’s tedious to refresh the page because the sandbox data checkbox unticks itself also. Is there anyway to force a billing issue in order to force the grace period being triggered to be able to test this case?
What I want to get out of the testing is:
- To see how long the grace period lasts in the sandbox environment. The one I set in the app store is for 16 days, but is the sandbox one also accelerated?
- To see with my own eyes, my app remaining in the subscribed state for the duration of the grace period (it *should* if the entitlement remains active for the grace period).
- What the customerInfo from Purchases.shared.getCustomerInfo will look like and if there will be some extra fields I can check on like something to do with a gracePeriod. (I looked around in the iOS SDK but couldn’t find anything). It would be cool to show to the user that their subscription status is in a grace period and will expire on x date if they dont sort out their billing info.