Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | TobiLa |
Hi, I am trying to get In-App-Purchases working with Godot on iOS since almost a week now based on this doc:
https://docs.godotengine.org/en/3.1/tutorials/platform/services_for_ios.html
I created an entry for the App in Appstore Connect, created an App-ID and an In-App-Purchase. The In-App-Purchase has the state “ready to submit”.
So far everything is working, I have no issues installing the app on devices whatsoever, so I guess the basic licensing is configured correctly. The app was successfully tested with internal testers and external testers on TestFlight. However in app purchases aren’t working at all.
When I am calling
request_product_info
with either
com.mycompany.myapp.mypurchase
or just
mypurchase
(don’t know which is correct, the doc isn’t clear about that) I get the following response
{ “type”: “product_info”, “result”: “ok”, “invalid_ids”: [
mypurchase, com.mycompany.myapp.mypurchase ], “ids”: [ ], “titles”: [
], “descriptions”: [ ] , “prices”: [ ], “localized_prices”: [ ], }
When I am calling
purchase
the call itself is returned with an OK.
After a few seconds I receive the following event:
{ “type”: “purchase”, “result”: “error”, “product_id”: “mypurchase”,
“error”: “Cannot connect to iTunes Store”}
Please is there anyone here who can help me? I am slowly going mad, I worked on this for more than 30 hours now and I am really running out of ideas.
Thanks for any hints,
Tobias
Were you able to figure this issue out?
I am experiencing the exact same problem you are.
I tried following a bunch of potential solution to no avail…
Richard van der Dys | 2020-06-26 17:40
I have the same problem too… “cannot connect to itunes store”.
I tried everything. Did you solve it?
aleks | 2020-08-07 05:34
Hello Tobi, could you point us to the right direction if you have solved this?
aleks | 2020-08-07 05:35
It was just a missing contract my boss had to accept. Don’t know any more details than that, I’m sorry
TobiLa | 2020-08-08 15:34