We are interested in publishing an app on Shopify - the app will basically use a Script Tag to add a widget to store pages. We have implemented this part and can install the app on test stores.
We need to implement billing. A recurring charge, with an initial free trial.
We are insure at which step we should post that initial charge. It is during the app installation? After the oauth process and before adding the Script Tag?
Additionally, we should post a new recurring charge once for each of our monthly billing cycle?
Any pointers here would of great help
A typical install process looks like this:
Once the user has accepted the recurring application charge you shouldn't need to create another one, unless the customer cancels. Keep the returned charge_id stored so you can make a API call to check the status of the charge if needed.
Good luck with your app!