#Lair Overseer
1 messages · Page 1 of 1 (latest)
Hi, what do you mean by 'subscription' service is expired?
Like
The user pays for time of my service
And I need to remove their access when they expire
If they don’t renew
Do you have an example I can look at? Like you can retrieve subscription via the API: https://stripe.com/docs/api/subscriptions/list#list_subscriptions-status and look at the status.
Example?
As in?
I would use that but I want people to be able to chose one time payments if they don’t want me to save their card info
Bc stripe lets you charge people whatever you want for some reason? If they save your card. I got scammed by someone before like that
You'd need to track this on your end then. You are charing one time fee for a subscription.. so you have to keep track of this on your end, and then cancel these subscriptions if the customer chooses not to renew: https://stripe.com/docs/api/subscriptions/cancel
is this the best way to do it?
- Log payment and subscription end date to database
- Make a task run daily to check if expired