# Stripe payment processing

**URL:** <https://discuss.streamlit.io/t/stripe-payment-processing/25578>\
**Category:** Using Streamlit\
**Created:** [May 24, 2022, 8:19pm UTC](https://discuss.streamlit.io/t/stripe-payment-processing/25578 "2022-05-24T20:19:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhawmik](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/bhawmik/32/2716_2.png) [@bhawmik](https://discuss.streamlit.io/u/bhawmik)\
**Post date:** [May 24, 2022, 8:19pm UTC](https://discuss.streamlit.io/t/stripe-payment-processing/25578/1 "2022-05-24T20:19:45Z")

</div>

Did anybody implement Stripe payment processing in a Streamlit app?  
Would love to get some pointers or an example.  
Thanks

Sudipta

---

<div class="post-metadata">

**Author:** ![fredzannarbor](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/fredzannarbor/32/46855_2.png) [@fredzannarbor](https://discuss.streamlit.io/u/fredzannarbor)\
**Post date:** [May 25, 2022, 1:31am UTC](https://discuss.streamlit.io/t/stripe-payment-processing/25578/2 "2022-05-25T01:31:08Z")

</div>

I was able to implement it although not without a great deal of effort. To make a long story short, I had to establish a system of access levels to pages, then every time a user tries to access a page, check the access level in a database. When the user logs in, the system queries Stripe and reports back whether the user is a customer and what their subscription type is. Then the script checks the database to see what access level that subscription corresponds to.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [May 25, 2023, 1:31am UTC](https://discuss.streamlit.io/t/stripe-payment-processing/25578/3 "2023-05-25T01:31:47Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
