What value does subscriptionStatus contain if its not past_due?

What value does subscriptionStatus contain when a subscription was paid?
9 Replies
kapa.ai
kapa.ai6mo ago
Hi @fred-123. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The subscriptionStatus can contain several values depending on the state of the subscription. If a subscription is paid and active, the subscriptionStatus will be 'active'. If the payment hasn't gone through due to reasons like an expired credit card, the subscriptionStatus will be 'past_due'. Other possible values for subscriptionStatus include 'canceled' and 'deleted'. Here is the relevant code snippet:
user.subscriptionStatus = 'active' | 'past_due' | 'canceled' | 'deleted';
user.subscriptionStatus = 'active' | 'past_due' | 'canceled' | 'deleted';
This information was discussed in a Discord support thread (https://discord.com/channels/686873244791210014/1214979650803998781). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @fred-123, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
fred-123
fred-123OP6mo ago
@kapa.ai is a canceled subscription still active as in paid for?
kapa.ai
kapa.ai6mo ago
Let me check the knowledge base for you. One moment! :books: ---------------------- No, a canceled subscription is not considered as active or paid for. When a subscription is canceled, it means that the user has stopped the subscription and won't be billed in the future. The subscriptionStatus for a canceled subscription will be 'canceled', not 'active'. Here is the relevant code snippet:
user.subscriptionStatus = 'active' | 'past_due' | 'canceled' | 'deleted';
user.subscriptionStatus = 'active' | 'past_due' | 'canceled' | 'deleted';
This information was discussed in a Discord support thread (https://discord.com/channels/686873244791210014/1214979650803998781). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @fred-123, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
fred-123
fred-123OP6mo ago
@kapa.ai what i mean is that if the status is canceled, is the user still in a state where he paid for the service for the current period and should still recieve the service?
kapa.ai
kapa.ai6mo ago
Let me check the knowledge base for you. One moment! :books: ---------------------- Yes, typically in subscription-based services, even if a user cancels their subscription, they still have access to the service until the end of their current billing period, because they have already paid for that period. However, the exact behavior can depend on how the service provider has set up their system. In the context of the subscriptionStatus field discussed in the Discord support thread (https://discord.com/channels/686873244791210014/1214979650803998781), it's not explicitly stated how a 'canceled' status affects access to the service. It would be best to check the specific implementation details of the service you're using to understand how they handle canceled subscriptions. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @fred-123, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
fred-123
fred-123OP6mo ago
@kapa.ai what status is deleted then?
kapa.ai
kapa.ai6mo ago
Let me check the knowledge base for you. One moment! :books: ---------------------- The 'deleted' status typically indicates that the subscription has been removed entirely from the system. This could mean that all records of the subscription, including its history, have been erased. However, the exact implications of a 'deleted' status can depend on the specific implementation of the system. It's not explicitly detailed in the Discord support thread (https://discord.com/channels/686873244791210014/1214979650803998781) what happens when a subscription status is set to 'deleted' in this context. Here is the relevant code snippet:
user.subscriptionStatus = 'active' | 'past_due' | 'canceled' | 'deleted';
user.subscriptionStatus = 'active' | 'past_due' | 'canceled' | 'deleted';
For a definitive answer, you would need to refer to the specific documentation or support resources of the service you're using. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @fred-123, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
miho
miho6mo ago
@Vinny (@Wasp) one for you
Vinny (@Wasp)
Vinny (@Wasp)6mo ago
hey @fred-123 the docs will answer all your questions here --> https://docs.opensaas.sh/general/user-overview/#subscription-statuses
OpenSaaS.sh
User Overview
Open SaaS is a free, open-source, full-stack SaaS starter kit for React + NodeJS.
Want results from more Discord servers?
Add your server