# Lifetime membership access, how to access App:Sales

**URL:** https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755
**Category:** Ask for Help
**Created:** [January 27, 2022, 7:05am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755 "2022-01-27T07:05:57Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 27, 2022, 7:05am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/1 "2022-01-27T07:05:57Z")

</div>

Hello guys,

I want to allow only paying members to access certain areas of the app. This is a one time payment that gives them a lifetime access. I added a couple of products and integrated with Stripe. The problem is that all the purchases are showing in a sheet on Google Sheet that I can’t see on Glide tables, so I can’t create a relationship between the users sheet and the App:Sales sheet.

How do I connect the content on App:Sales to my user sheet? Is there another way to do that?

Thanks!  
@Robert_Petitto @ThinhDinh @Jeff_Hager

👍

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [January 27, 2022, 8:36am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/2 "2022-01-27T08:36:58Z")

</div>

Just make a read only copy of your App:Sales sheet, using either an arrayformula or a query. Glide will see this sheet, and you can build relations to it.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [January 27, 2022, 11:34pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/3 "2022-01-27T23:34:38Z")

</div>

The formula you’re looking for is either:

```auto
={'App: Sales'!A:Z}
=QUERY('App: Sales'!A:Z,"SELECT * WHERE A IS NOT NULL",-1)

```

---

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 28, 2022, 1:12am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/4 "2022-01-28T01:12:21Z")

</div>

> [@ThinhDinh](#):
>
> `={'App: Sales'!A:Z}`

Thank you so much @ThinhDinh ! what is your strategy for creating a relationship with this sheet to determine who paid for what product?

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [January 28, 2022, 1:20am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/5 "2022-01-28T01:20:56Z")

</div>

Usually I use the rowID of the product to know what they paid for, I usually have multiple products.

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [January 28, 2022, 1:21am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/6 "2022-01-28T01:21:07Z")

</div>

have a product category and relate them to users who paid…  
product\_name#category#date, make a description in pay link, so you can easily filter it or relate after split

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [January 28, 2022, 2:48am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/7 "2022-01-28T02:48:02Z")

</div>

I literally just solved this today 🙂

> [@Buy button is invisible - why?](https://community.glideapps.com/t/buy-button-is-invisible-why/37676/22):
>
> Ok I think I cracked it. How to get instant notification when a user buys something using Stripe (caveat: you need to have an App with a Google sheet). When the User completes the sign in process I add a row to Glide Table called BUY. I set columns in this new row with all of the info needed to buy an item (description, price, image, etc…) plus some USER ID data (Row ID from the user sheet). When the user enters the shop screen I show an in-line list that reads the data in the BUY table and pr…

---

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 28, 2022, 7:16am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/8 "2022-01-28T07:16:42Z")

</div>

Sounds like you cracked it! I’m still just cracking my head. Any chance I can make a copy of your app? 👍 👍 👍 🤩

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [January 28, 2022, 11:35am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/9 "2022-01-28T11:35:44Z")

</div>

Would it be OK if I create a super basic new app with the same buy feature? I will make the new App available to copy?

---

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 28, 2022, 11:52am UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/10 "2022-01-28T11:52:09Z")

</div>

That would be super amazing 🙏🙏🙏🦋🙏

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [January 28, 2022, 3:20pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/11 "2022-01-28T15:20:38Z")

</div>

Here is a little video to demo the App called GoodBuy.

https://player.vimeo.com/video/671179178?h=4c80a91684&app_id=122963

This is the code for the Google Sheet clone: you can have a new Google sheet and use the formula below in cell A1.

```auto
={'App: Sales'!A:Z}

```

This will duplicate your App: Sales sheet and allow you to see it in the editor.

The app can be copied. Hope it’s all clear!

Enjoy.

> **[GOODBUY](https://good-buy.glideapp.io/)**
>
> Demo app: How to track items bought with Glide's BUY button using STRIPE

---

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 28, 2022, 8:54pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/13 "2022-01-28T20:54:01Z")

</div>

Wow this is very generous! Thank you so much. And by the way, what a clever name haha! I’m going to start watching and report back. Thanks again @Simon_Hill 😍

---

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 28, 2022, 8:56pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/14 "2022-01-28T20:56:35Z")

</div>

> [@Simon\_Hill](#):
>
> [https://good-buy.glideapp.io/](https://good-buy.glideapp.io/)

Hi @Simon_Hill I was not able to duplicate the app, it’s telling me there are too many rows, see attached. Perhaps

 ![Screen Shot 2022-01-29 at 4.55.11 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/7/77a779a4d81e28d8a5162dd7099a24a983dc32f0.png)  
you can delete the rows you don’t use?

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [January 28, 2022, 9:07pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/15 "2022-01-28T21:07:03Z")

</div>

Oh really? I don’t know why that would happen. It is a really small App with hardly any rows… I will take a look at the Google Spreadsheet and check to see if there are any redundant sheets. I don’t think so!

---

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 28, 2022, 9:11pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/16 "2022-01-28T21:11:44Z")

</div>

It may count all the rows if you have just one cell with content, let’s say 1000 rows down.

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [January 28, 2022, 9:14pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/17 "2022-01-28T21:14:28Z")

</div>

Ok… checking. I did work on a 2nd hand sheet.

I just switched off a ‘Calculations mode’ related to refreshing circular arguments from the old sheet. Can you try now?

---

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 28, 2022, 9:16pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/18 "2022-01-28T21:16:09Z")

</div>

I’m getting the same error @Simon_Hill 🤔

"An error occurred duplicating the app.

In most cases this is caused by a large and/or complex Google sheet. Delete all rows and columns that your app is not using or there is no data. Glide will append rows as needed so you can remove all empty rows below the existing data on all of your sheets. Then try to duplicate the app again."

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [January 28, 2022, 9:18pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/19 "2022-01-28T21:18:56Z")

</div>

If you can share your email address I can share the Google sheet with you and maybe you can check. I don’t have experience in this error!

---

<div class="post-metadata">

### Author: ![SuperMerabh](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@SuperMerabh](https://community.glideapps.com/u/SuperMerabh)
#### Post date: [January 28, 2022, 9:19pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/20 "2022-01-28T21:19:13Z")

</div>

Sending you DM

---

<div class="post-metadata">

### Author: ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)
#### Post date: [January 28, 2022, 9:35pm UTC](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755/21 "2022-01-28T21:35:03Z")

</div>

You might check your arrayformulas, probably you writing empty values all the way down the sheet

[Next page](https://community.glideapps.com/t/lifetime-membership-access-how-to-access-app-sales/37755.md?page=2)
