iOS - In App Purchase - auto renew subscription - How to get notified if the user cancel or auto renewable subscription?

I am working on an app which has our own user database and cross platforms subscription. and my questions are:

pre-condition: in iOS, user did login with username and did auto-renew subscription.

1.if user deleted the app, will it cancel the auto-renew subscription for the app?

  1. if user cancel the subscription from settings or from itunes, how do we know which user canceled the services?(I dont have game center id). I would like to inform my server that this user canceled subscription.

basically, how do we know a user did auto-renew or canceled the subscription without opening app. Is there any unique id in apple's receipt which we can get to validate the user id.



Got a rough solution. Basically, when user subscribe from application, you should also send receipt to your own server, and then from own server use receipt to request from apple server for the status. This is for cross platform subscription. It is unnecessary for single platform app.

Server notifications are now available.

How to enable them:

How to set the server URL:

Need Your Help

Most appropriate method to persist a sbt process after exiting SSH session?

session ubuntu process ssh sbt

How do I keep a process, specifically one spawned via the sbt command, alive after exiting my ssh session? The following related questions [1], [2], [3] and [4] have been informative but have not l...

Using Postgres transactions in linux shell script

linux postgresql shell

I'm developing a shell script that loops through a series of Postgres database table names and dumps the table data. For example: