Hi there,
I am currently working with Managed App Pricing system for monthly billing on my app, and I cannot find information about a Webhook that is triggered when the user completes a monthly payment.
I want to know if the APP_SUBSCRIPTIONS_UPDATE
webhook is triggered after each monthly payment (after each month of use) or if I need to consider another solution, like setting up a cron job at the end of the billing cycle.
Thanks in advance for any guidance!
The app subscription update webhook is fired when the user picks a subscription, changes their subscription, the subscription expires or is not paid or the store closes.
It will not fire every month when a payment is successfully made. The user doesn’t pay each month it’s charged directly from their card.
Thanks for the answer !
I need to update my database after every month of usage, and currently, the only solution I can think of is to automate these updates every 30 days. I’ll handle cases when the user changes or cancels their subscription using the APP_SUBSCRIPTIONS_UPDATE
webhook.
Do you know if there’s a better approach for this?
Any advice would be greatly appreciated
So you are updating your database just if the shop is still using the app?