manishkatyan / strapi-stripe

Stripe Plugin for Strapi CMS
65 stars 32 forks source link

Guidance on active subscription for user #75

Closed semics-tech closed 1 year ago

semics-tech commented 1 year ago

I would like to know how you would ensure the user has an active subscription.

Do you store the stripe subscription id so that you can check the user has an active subscription?

I can't see anything obvious that I can use to access a user's subscription (like an id), any suggestions?

nishekh-e-r commented 1 year ago

@semics-tech In strapi-stripe v3.2.0 we have added a new API endpoint using which you can get an active subscription of a user. embedCode

subscription user email you can get easily in the payment report.