Sever backend for auto-renew subscription

We are thinking of building a subscription-based product using Unity. We have experience building subscription using other client SDK & custom built backend. We see that Unity has a subscriptionManager that can help verify subscription on the client side, but how about the server side?

For those not familiar, an example use case is a subscriber who unsubscribes via the Settings (not through the app), and never launches the app again. In a situation like this, we wouldn’t know that the user had cancelled, and wouldn’t be able to calculate the LTV/Churn/etc correctly. Correct LTV is crucial if we want to do UA.

I am curious how people have solved this problem? What service (if any) have people had success with?

Unity IAP uses the Google Play store and the iOS App Store. Can you elaborate what service you need? Do you mean a server call to the Google/Apple servers to check subscription info? For security, you can’t make such a call on behalf of the user. Your scenario sounds like an edge case, and so would likely not have much if any impact on LTV for a popular game.

What I am thinking is more a server that connects to Apple’s server side notification (Enabling App Store Server Notifications | Apple Developer Documentation) and Google’s RTDN (Referenzleitfaden für Entwicklerbenachrichtigungen in Echtzeit  |  Google Play's billing system  |  Android Developers) which will let us know when a user cancels a subscription WITHOUT opening our app.

This gives us a more accurate way to measure LTV, Churn, etc. There are other benefits such as allowing us to accurately track renewal in amplitude, etc.

1 Like