# Problem with IOS (Apple) IAP (In App Purchasse)

**URL:** <https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795>\
**Category:** In App Purchase\
**Created:** [March 6, 2023, 5:57pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795 "2023-03-06T17:57:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 6, 2023, 5:57pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/1 "2023-03-06T17:57:17Z")

</div>

My post is related to IAP on iOA

I have read through the available IAP documents and am struggling to understand or use the content on the following page to help me with my issue.

What I am trying to do is:  
I want to add a subscription purchase into my app.

What I have tried so far is:  
My iOS app return me the error “Must query item from store before purchase” and when I get the product info list, it’s null. My subscription and another purchase to try are alow by Apple in Apple Store Connect.  
But for Google all it’s okay

Can you help me please

---

<div class="post-metadata">

**Author:** ![ryan\_hall\_apps](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan\_hall\_apps](https://community.thunkable.com/u/ryan_hall_apps)\
**Post date:** [March 6, 2023, 6:57pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/2 "2023-03-06T18:57:25Z")

</div>

Are you using google cloud function to process this on iOS?

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 6, 2023, 7:33pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/3 "2023-03-06T19:33:27Z")

</div>

No. I need? How to make?  
I juste use the In App Purchase Component in Thunkable

---

<div class="post-metadata">

**Author:** ![ryan\_hall\_apps](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan\_hall\_apps](https://community.thunkable.com/u/ryan_hall_apps)\
**Post date:** [March 6, 2023, 7:40pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/4 "2023-03-06T19:40:49Z")

</div>

You don’t need it, but make sure you are able to VERIFY and ACKNOWLEDGE a purchase in android. That is two different processes. From my understanding if you don’t acknowledge the purchase then the funds will revert in 3 days and your user will lose access.

I followed this [Tutorial](https://docs.thunkable.com/in-app-purchases)

You don’t need to do this in iOS. Can you share a picture of your blocks for the iOS purchase functions?

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 6, 2023, 8:41pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/5 "2023-03-06T20:41:09Z")

</div>

I just use the bloc purchase subscription from IAP block of Thunkable, I can’t screen because I have added something to try.  
But my subscription run in Android, not in Apple, it return totally a None list

---

<div class="post-metadata">

**Author:** ![ryan\_hall\_apps](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan\_hall\_apps](https://community.thunkable.com/u/ryan_hall_apps)\
**Post date:** [March 6, 2023, 9:05pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/6 "2023-03-06T21:05:57Z")

</div>

Understood.  
Make sure you read how to process a payment according to Google Play. Like I mentioned it will refund the users subscription and and you won’t get paid if you don’t acknowledge within three days.

The purchase subscription block only starts the process.

[Google play payment processsing](https://developer.android.com/google/play/billing/integrate#:~:text=After%20granting%20entitlement%2C%20your%20app,Google%20Play%20revokes%20the%20purchase.)

When you can send a screen shot of your blocks that is how we can start helping you with your iOS problem.

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 7, 2023, 6:26am UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/7 "2023-03-07T06:26:13Z")

</div>

How I can try to buy something from my app to Google Play to see how to accept purchase?

I join at the other message my blocks for iOS and a screen for Apple Connect

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 7, 2023, 6:28am UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/8 "2023-03-07T06:28:07Z")

</div>

![IMG_0637](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/d/8de35218e4e5c62ee0b50153454b764be563a1dc.jpeg)  
 ![IMG_0636](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/6/e60fa70720c754a928780bc02f43df417e2ba80a.jpeg)

---

<div class="post-metadata">

**Author:** ![ryan\_hall\_apps](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan\_hall\_apps](https://community.thunkable.com/u/ryan_hall_apps)\
**Post date:** [March 7, 2023, 2:02pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/9 "2023-03-07T14:02:27Z")

</div>

Make sure in the In App Purchase block in the settings that you have your ProcductID: “account\_prof\_10” entered in in the iOS section.

Also, make sure you publish your app to iOS and test it through Test Flight.

You should really follow this [tutorial](https://docs.thunkable.com/in-app-purchases/overview).  
If I’m not mistaken Google Play wants the purchase **verified** and **acknowledged** and iOS wants the purchase **verified**.

@jared or @muneer may be able to confirm or correct me on this.

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 7, 2023, 5:03pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/10 "2023-03-07T17:03:30Z")

</div>

Yes, I have enter mi product id, Google and Apple have verified my product.  
This is normal that “get product info”return none list? (For Apple)

---

<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:** [March 8, 2023, 3:20pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/11 "2023-03-08T15:20:29Z")

</div>

Hello Tom,  
The issue is that you can’t get the “List of Item info”?  
Are you able to get the “List of Subscription Info”?

Also, did you test your app through TestFlight?

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 8, 2023, 3:21pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/12 "2023-03-08T15:21:52Z")

</div>

Hi, no, I can’t get List of Item info and List of Subscription Info

Yes, I try the app through TestFlight, but the problem is same when I download from Apple Store

---

<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:** [March 8, 2023, 3:24pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/13 "2023-03-08T15:24:43Z")

</div>

Could you please present the “error” message of “Get Product Info” block on a label, to see if there is any?

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 8, 2023, 3:27pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/14 "2023-03-08T15:27:30Z")

</div>

there isn’t an error, there is nothing, just `[]`

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 8, 2023, 3:28pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/15 "2023-03-08T15:28:09Z")

</div>

And when I try to purchase, there is the “Must Query Item From Store Before Purchase” error

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 9, 2023, 2:05pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/16 "2023-03-09T14:05:00Z")

</div>

There is another error : “ must wait promise before calling purchase function”  
But now there is the product info list

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 9, 2023, 4:58pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/17 "2023-03-09T16:58:50Z")

</div>

Oh no! The product list doesn’t work now  
I don’t know why

---

<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:** [March 9, 2023, 5:45pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/18 "2023-03-09T17:45:30Z")

</div>

Hello @tom.garnier ,  
Did you make any changes to the block you used to get the product info?  
How it worked and now it doesn’t?

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 9, 2023, 5:47pm UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/19 "2023-03-09T17:47:00Z")

</div>

It worked because I have added some information of billing in Apple Connect, my Credit Card information, but it worked only 5 minutes, not it doesn’t work. And purchase never worked

---

<div class="post-metadata">

**Author:** ![tom.garnier](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tom.garnier/32/147757_2.png) [@tom.garnier](https://community.thunkable.com/u/tom.garnier)\
**Post date:** [March 10, 2023, 6:29am UTC](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795/20 "2023-03-10T06:29:27Z")

</div>

This is now the error that I have : “ Must wait for promise to resolve before recalling function.”

[Next page](https://community.thunkable.com/t/problem-with-ios-apple-iap-in-app-purchasse/2310795.md?page=2)
