App subscription using In-App Purchase

We are working on an app which required user subscription before using it.

How can we design subscriptions based on following workflow

[demo.digivalet.com/offlineApp/In%20App%20Purchase.pdf]

App subscription using In-App Purchase
 
 
Q