#mxd-Subscription
1 messages · Page 1 of 1 (latest)
Hi, are you able to add more details here? What do you mean by features? Have you looked at this document, https://stripe.com/docs/billing/subscriptions/overview?
thanks, i think it would be from the link you sent me:
When your customer successfully pays the invoice, the subscription updates to active and the invoice to paid. At this point, you can provision access to your product.
That would come from your code.
like, use a webhook?
the webhook would listen to the "active" and "paid" thing and it updates the mysql or something?
idk
You can set up a webhook endpoint, https://stripe.com/docs/webhooks and listen to the Invoice paid event: https://stripe.com/docs/api/events/types#event_types-invoice.paid . Alternatively, you can manually look your active subscriptions, https://stripe.com/docs/api/subscriptions/list#list_subscriptions-status and provision access to your product.
ok thanks pgskc i will research into the links you gave me !