# How to check at sign-in if user has paid or not?

**URL:** <https://community.thunkable.com/t/how-to-check-at-sign-in-if-user-has-paid-or-not/608766>\
**Category:** Questions about Thunkable X\
**Tags:** firebase\
**Created:** [June 11, 2020, 10:06am UTC](https://community.thunkable.com/t/how-to-check-at-sign-in-if-user-has-paid-or-not/608766 "2020-06-11T10:06:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thestrengthinstitute](https://avatars.discourse-cdn.com/v4/letter/t/48db29/32.png) [@thestrengthinstitute](https://community.thunkable.com/u/thestrengthinstitute)\
**Post date:** [June 11, 2020, 10:06am UTC](https://community.thunkable.com/t/how-to-check-at-sign-in-if-user-has-paid-or-not/608766/1 "2020-06-11T10:06:33Z")

</div>

Hi,

So I have an app that shows training materials (videos and PDFs) to users. I have a Firebase login screen. The videos will be stored in Cloudinary.

Now there is FREE content and PAID content.

I want all users to be able to access the FREE material. However if they pay, they can see paid content too.

How can I implement this? How can I can check at the blocks if the user has paid or not? I will be using Google Stores payment process

---

<div class="post-metadata">

**Author:** ![sleon003x2rq](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@sleon003x2rq](https://community.thunkable.com/u/sleon003x2rq)\
**Post date:** [June 15, 2020, 3:22am UTC](https://community.thunkable.com/t/how-to-check-at-sign-in-if-user-has-paid-or-not/608766/2 "2020-06-15T03:22:10Z")

</div>

I guess it comes down to how you are processing payment…can you get some sort of receipt from your payment gateway and store it in firebase?

the way I imagine it in my head, you store user in firebase, every user will have a Paid variable.  
If a user Paid variable = 1 or Paid varialbe !=Null content x is visible

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:25am UTC](https://community.thunkable.com/t/how-to-check-at-sign-in-if-user-has-paid-or-not/608766/3 "2024-11-08T11:25:45Z")

</div>


