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": "productinfo", "result": "ok", "invalidids": [
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