[Solved] Problems with subscription(iOs, Android)

Hello! Help please! I’m trying to implement subscriptions in my game(Android, iOs). I can not understand the questions:

  1. How can I check the current status of the subscription?
  2. How can I check if the subscription has been updated?
  3. How can I find out how many days are left before the subscription is renewed?
  4. How can I check if my subscription has been canceled?
  5. How correctly to test subscriptions?

The information that was found on these issues is not very accurate. Can someone answer these questions unequivocally?

@MaxMM

Apologies for the delayed reply.

In order to track subscriptions, it is necessary to parse the receipt you receive from the app store. You can do this at purchase time and store that data (Unity IAP does not have any inventory management features) and then again at app start to check the status of the subscription.There are some more details in this forum thread:
https://forum.unity3d.com/threads/how-do-i-track-auto-renewing-subscriptions.476293/