MarketplaceService PromptGamePassPurchaseFinished is not firing

  • Describe the bug. Describe what is happening when the bug occurs. Describe what you would normally expect to occur.

The PromptGamePassPurchaseFinished event does not fire when the PromptGamePassPurchase window is closed. The event is not fired under any circumstance. The expected behavior is for this event to be fired any time the PromptGamePassPurchase is closed. This functionality is working as expected in Play Solo.

  • How often does the bug happen (Everytime/sometimes/rarely)? What are the steps that reproduce the bug? Please list them in very high detail. Provide simple example places that exhibit the bug and provide description of what you believe should be the behavior.

This bug is happening to me in 100% of cases. I have tried to use the PromptGamePassPurchaseFinished event in multiple games now, across multiple accounts, and games owned by both groups and users. To reproduce the bug, all you’ve got to do is implement PromptGamePassPurchaseFinished in a manner such as:

local marketplaceService = game:GetService("MarketplaceService")

marketplaceService.PromptGamePassPurchaseFinished:Connect(function(player, assetId, isPurchased)
    print("PromptGamePassPurchaseFinished fired.")
end)

The expected behavior is for the event to be fired and the print to be subsequently called as well.

To reproduce this, obviously, you’ll want to use PromptGamePassPurchase to test a purchase in your game and see whether the event is fired.

  • Where does the bug happen (www, gametest, etc) Is it level-specific? Is it game specific? Please post a link to the place that exhibits the issue.

This has happened in multiple games on production servers. Here’s a link to a game demonstrating this issue, and here’s a place file for reproducing the issue: MarketplaceServiceRepo.rbxl (16.6 KB)

  • When did the bug start happening? If we can tie it to a specific release that helps us figure out what we broke.

I believe it started some time in the past 18-24 hours, but it could have started before then, as I might not have tested in-game redemption of game pass purchases for several days preceding last night, February 22nd.

1 Like

This might be related as PromptPurchaseFinished doesn’t fire and it was around the same time.

1 Like

I remember having this problem when I was trying to “featured-ify” my older game. Just letting you know this is definitely a problem that I’ve seen in the past.

Thanks for reporting this. We just reverted the change that introduced this issue.

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.