Yes is the actual version of the app. For that reason is an environment variable, store in
.env in local, this allow changing his value from your server configuration and you do not need to deploy each time.
These methods are specifics to your requirement.
For a summary in our app, we check in
receipt the end_date of the subscription and the product type. Then we update user status. And finally we save data we need in the receipt.
Nothing magic, but if you encounter a specific error during this process, do not hesitate to ask.