In App Purchase is stuck after the purchase
konguele opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Hello,
I have created an in-game purchase, it works correctly, but when the in-game purchase message appears on any consumable item 2 things happen:
- If it is the first purchase, it is duplicated
- If it is the second purchase, the game freezes and stops working.
It is all in the same position as in the example in Gdevelop (https://gdevelop.io/game-example/free/in-app-purchase).
At the beginning of the scene:
I don't understand if it's a bug, if there's a loop or what's going on, could you please help me with this error? I don't see where the problem could be.
Steps to reproduce
- I add all the details of the purchase
- Compile the game and run it on an iOS device
- I make a purchase, even the coins are loaded and I see the OK
- IAP failure
GDevelop platform
Desktop
GDevelop version
5.3.187
Platform info
OS (e.g. Windows, Linux, macOS, Android, iOS)
OS Version (e.g. Windows 10, macOS 10.15)
Browser(For Web) (e.g. Chrome, Firefox, Safari)
Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)
Additional context
No response
Hello, as explained in the other issue you've opened (#6226 (comment)), the in-app-purchase extension is on the extensions repository https://github.com/GDevelopApp/GDevelop-extensions so your issue is best to be created there.
This extension has some flaws and would need a rewrite, you're welcome to contribue by submitting a PR.
Sorry, I will post it on the other side. Thanks for your comments.