# IAP documentation -- what kind of information from the stores?

**URL:** <https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140>\
**Category:** In App Purchase\
**Created:** [December 13, 2021, 8:22am UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140 "2021-12-13T08:22:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethosworkfi](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@ethosworkfi](https://community.thunkable.com/u/ethosworkfi)\
**Post date:** [December 13, 2021, 8:22am UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140/1 "2021-12-13T08:22:22Z")

</div>

Hi everyone,

So we finally have IAP for both editing interfaces, which is just great. But I was wondering if anyone – from the team or someone who has already incorporated the component – would have an insight to share as to what kind of information I will get with IAP blocks from the stores? Would save me some valuable time and effort as I’m starting to tinker with this (and probably the same for many others too).

So, to start off, the general documentation for IAP is here: [https://docs.thunkable.com/in-app-purchase](https://docs.thunkable.com/in-app-purchase)

But it doesn’t say much about what kind of information I get with the blocks. For instance, the sale block returns “List of Item info” and “List of Subscription info”, but what kind of information, exactly, this usually is? If I’d knew a bit more beforehand, I could already design my app accordingly, rather than first find out everything on my own.

And the same goes for the Purchase History blocks. Of course I can find these things on my own too, but wouldn’t it make sense that someone who has already used them would offer some samples / outlines of what kind of info we’re getting from App Store / Google Play, particularly as testing and finding this on my own in this case a bit more demanding than just the usual tinkering with the blocks on Thunkable

And even better would be if the documentation page would contain these examples / outlines. 😉

Thank you all 🙂

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [December 13, 2021, 10:10am UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140/2 "2021-12-13T10:10:48Z")

</div>

Check this.  
It is the practical steps for item purchase

> [@In App Purchase help](https://community.thunkable.com/t/in-app-purchase-help/1651334/8):
>
> The first step is to add your charging items in the Google development console In this example I am using one time payment not subscription. I am using a donation example here The main important info is the Product ID. In your Thunkable app, enter the same product ID in the IAP component. [image] In your code (using a button or any kind of option) you will have to first inquire about the list (this is mandatory for Android) I’m here using Alert component for testing pur…

---

<div class="post-metadata">

**Author:** ![ethosworkfi](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@ethosworkfi](https://community.thunkable.com/u/ethosworkfi)\
**Post date:** [December 13, 2021, 11:33am UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140/3 "2021-12-13T11:33:21Z")

</div>

Many thanks for this @muneer – for your kind help, as always. 🙂

This helps me to get going, but naturally would be really nice to see a bit more. Particularly what kinds of responses you get with queries from the stores, such as with “get products info”.

The reason is that I naturally want to be able to follow what purchases the user has made / other relevant info regarding the user in this respect. Like, if the user has already made a donation, I wouldn’t like to suggest it right away again. And for doing subscriptions such information is of course all the more vital usually. At least the Thunkable team must know all this inside out, if only they would share a bit of their wisdom in the docs or here. 🙂

Ping @jared @domhnallohanlon and others.

But in any case, thank you again for this and if you discover more, I’d be very happy to hear from it too. I’ll also try to keep you guys updated as I go along with this.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [December 13, 2021, 12:04pm UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140/4 "2021-12-13T12:04:47Z")

</div>

> [@ethosworkfi](#):
>
> Like, if the user has already made a donation, I wouldn’t like to suggest it right away again.

The current `IAP` component does not provide such info. Item once purchased will not show up in the query.

> [@ethosworkfi](#):
>
> “get products info”

This will give you the list of products you have. In my example, 3 donation entries. Nothing else.

See a sample from my app (in JSON format)

 ![IMG_20211213_151312](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/8/48319d001fa8f9f81f2286c0dac6247ff462b986.jpeg)

> [@ethosworkfi](#):
>
> subscriptions such information is of course all the more vital usually

This topic is more complicated and requires an external server. This is why I decided not to comment on it.

---

<div class="post-metadata">

**Author:** ![ethosworkfi](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@ethosworkfi](https://community.thunkable.com/u/ethosworkfi)\
**Post date:** [December 13, 2021, 12:40pm UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140/5 "2021-12-13T12:40:50Z")

</div>

Ah, I see. I thought the stores would keep tabs on what kinds of orders / subscriptions the user has committed herself to. It would make sense as the stores are the ones selling them after all. And they’re the place you can also cancel your subscriptions, so on some level they must know. Well, I guess I just need to find out by trying out various things then. But if you figure out how to build a good subscription service, please let me know, as with everything else too. And I’ll do the same once I get so far. 🙂

In any case, thank you for this too @muneer . 🙂

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [December 13, 2021, 1:17pm UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140/6 "2021-12-13T13:17:23Z")

</div>

> [@ethosworkfi](#):
>
> I thought the stores would keep tabs on what kinds of orders / subscriptions the user has committed herself to.

Of course the store has it, and if you go to Google Developer account manager you will find all purchases and subscriptions there whether valid cancelled or refunded.

I am just stating that the current **Thunkable component** does not provide such info.

---

<div class="post-metadata">

**Author:** ![ethosworkfi](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@ethosworkfi](https://community.thunkable.com/u/ethosworkfi)\
**Post date:** [December 13, 2021, 1:30pm UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140/7 "2021-12-13T13:30:24Z")

</div>

Yeah, well I guess so. I just thought that incorporating this into the IAP component on Thunkable would be pretty much a given.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [March 13, 2022, 1:30pm UTC](https://community.thunkable.com/t/iap-documentation-what-kind-of-information-from-the-stores/1653140/8 "2022-03-13T13:30:32Z")

</div>

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