is there a way to make a test subscription in-app purchase expire immediately, for faster testing? it seems exceedingly complicated to test subscriptions if we have to a) wait until the next day for expiry, or b) keep on creating new apple ids to get into a fully unsubscribed state? it is still kind of madness testing this stuff, after all the years it has been available.
expire test subscription immediately?
Clear Purchase History will delete all of the user’s purchases, which then effectively ends the subscription. Also, you can adjust the renewal speed of the user before hand to be very very fast which will then cause the sub to quickly expire.
FYI, i i think found the option in iphone settings, but since i was using a real apple ID for test flight testing, that real apple ID doesnt show up as way to clear test flight purchases. it only shows me an old sandbox id i had used for old work.
i did find this clear purchase history for true sandbox accounts (which doesnt seem to work sandbox purchases made with a real apple id by the way... something not obvious, or maybe of course operator error which is probable). and while clear purchase history does seem to initially clear the purchases, they seem to be cached somehow and so when you purchase, you get all sorts of old purchase data back, and then your app is in some odd state with respect to subscriptions. testing subscriptions seems to be one of the worst issues in app development these days. a tester needs to be able to clear everything reliably and re-start from a reliable un-purchased state with no garbage. it seems to involve deleting the app and re-installing from test flight, but a lot of times, old cached stuff seems to get pulled in to the app even if you do that. seeing that subscriptions is one of the main ways for app developers to make money, it should be the easiest and smoothest process to add the code for them and test them. redirect all that UI open glass effort or whatever it is called to purchases. we didnt need open glass. we need super reliable purchase flows and testing.