Does the HOWTO track automatic renewal of an iOS In-App Purchase?

We're building a subscription-based video-on-demand platform that allows our subscribers to access movies from a variety of devices including iOS, Web, and more.

Therefore, no matter where the user signed up, they should be able to access the content from all devices we support.

Since I need to maintain user state in a central system (so that all devices can request and allow / deny access to paid content).

I read several docs of re: iOS In-App Purchases and determined that we are a good fit for the auto-renewable subscription category .

I've already integrated subscriptions through Roku and used that as a link. For users who subscribe through the website , I also have integrated payment processors like Amazon Payments, Stripe, and PayPal, for which transactions are initiated by the Subscriptions Billing platform that I have already created.

My server (or, in fact, an endpoint) should be able to receive the following bits of information from iTunes, preferably directly rather than from my application.

  • Notification when a user successfully subscribes to one of my products
  • Notification when iTunes renews subscription successfully, i.e. if a user subscribes to a monthly product and then early next month, I need to receive a notification from iTunes that the user has been successfully canceled within the next month.
  • Notification when iTunes successfully returns a user for any reason
  • A notification when a user cancels a subscription directly from iTunes (not from an app). I know that in this case it will mean that it stops the automatic update, but I still need to know that this happened.
  • Notification when a user cancels auto-renewal.

Does iTunes support any of these actions via Webhook or Push or IPN (Instant Payment Notifications), etc.? I don't know if this will happen.

I know there is something called Validating Receipts , but that doesn't seem to be a very good solution for me as I need to know ASAP rom iTunes that one of the above streams happened.

What, if any, are workarounds for obtaining this information? I am afraid that receiving this information from my application is not timely and not guaranteed to receive it.

+3


source to share


1 answer


If you're expecting a direct transfer from iTunes, you need to reassess your requirements. The ecosystem acquired in the app just doesn't work. You may have the option to write your own subscription handling system (requires an external payment processor), but whether Apple approves it will depend on the exact nature of your content. From your description, you have mutually exclusive requirements.



If a fixed requirement is required that you are using iTunes, you will need to check the receipts and send those results to your server.

+2


source







All Articles