Testing with an iOS Testflight build, monthly subscription.
I subscribed with my iPhone a while ago. I changed the product today: I added a new product on appstoreconnect, and linked to it from the RevenueCat’s offerings, replacing the old one.
I updated the Testflight build and at some point got PRODUCT_CHANGE webhook event on my server, which I see in logs linking the old product id to the new one, but I don’t handle this webhook currently, so it was ignored.
Trying to fetch the new subscription from the API after this doesn’t work:
https://api.revenuecat.com/v2/projects/$projectId/customers/$userIdStr/subscriptions
and then
https://api.revenuecat.com/v2/projects/$projectId/products/$productId
keeps returning the old product id. I deleted this id from my server configuration so can’t do anything with it.
I try to subscribe again, I get a system dialog: “You are currently subscribed to this (..) it continues until tomorrow .. plan continues until cancelled”. I try to cancel this subscription and nothing happens. Trying to subscribe again still shows “You are currently subscribed..” dialog.
If I go to the device’s settings > sandbox account > subscriptions, all subscriptions are listed as inactive. But the app still shows that I’ve a subscription.
I also deleted the customer on the RevenueCat dashboard. Still same problem.
Re-installing the app doesn’t do anything either: it generates a new RevenueCat user id, triggers transfer webhook, which I do handle, but product id is still the old one so can’t do anything with it.
What do I’ve to do to be able to test subscriptions again, please? I guess I could re-add the old product id to my config but this is really weird behavior and I’d like to know how to properly reset this.
