4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.

Home Page:https://gdevelop.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In App Purchase is stuck after the purchase

konguele opened this issue · comments

Is there an existing issue for this?

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.
    4

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:
SS1

Inside Store is ready:
Captura de pantalla 2024-02-01 a las 15 51 28
Captura de pantalla 2024-02-01 a las 15 51 28

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

  1. I add all the details of the purchase
  2. Compile the game and run it on an iOS device
  3. I make a purchase, even the coins are loaded and I see the OK
  4. 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.