tylerjrichards / st-paywall

A python package for creating subscription Streamlit apps
MIT License
266 stars 52 forks source link

handle refunds #49

Open hackgoofer opened 9 months ago

hackgoofer commented 9 months ago

When a refund processing is successful, I think should take the user out of is_subscriber state. What do you all think?

tylerjrichards commented 9 months ago

hmmmm I think that makes sense, are there any edge cases in which a user would get out of a subscriber state but developers would want to continue allowing them access to the service? Maybe it would be best for me to add a param that defaults to removing them out of being a subscriber but can be changed?

Honestly i'm not even sure what the stripe api returns for cancelled and/or refunded subs, but I can look into it