tylerjrichards / st-paywall

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

What if the subscription has expired? #27

Closed lihotim closed 1 year ago

lihotim commented 1 year ago

When the subscription has expired, what will the UI behave? Will the user not be able to login the SaaS through his email anymore?

sfc-gh-trichards commented 1 year ago

oh this is a really good point, I honestly hadn't thought of that. It looks like the Stripe API has a field for if the subscription is active, let me make a change to update!

lihotim commented 1 year ago

Thanks, and please tell us how to test it later.

tylerjrichards commented 1 year ago

fixing this here: https://github.com/tylerjrichards/st-paywall/pull/28

tylerjrichards commented 1 year ago

this should be fixed now, let me know if this works for you @lihotim :)