PromptProductPurchase not working for console

Hi! I have seem to come across an issue with prompting purchases. I can prompt purchases while on mobile and PC but not with console. I am losing quite a bit of revenue and wish to find a fix.

Here are some gifs of the issue:
https://gyazo.com/e6abdf99f0bfb87078e718e4c7f54a93 - MOBILE
https://gyazo.com/ba3b539bc209396c5c13d2e0883e0f2d - PC
https://gyazo.com/36b7a54386703093c1fb3016a9a14759 - XBOX

CODE:

script.Parent.Activated:Connect(function()
	game:GetService("MarketplaceService"):PromptProductPurchase(game:GetService("Players").LocalPlayer,942236577)
end)

I have searched for solutions but have yet to find one. Any help would be greatly appreciated!

I would say this is most likely a bug in ROBLOX. If you have an XBOX, try doing this on it.
If the issue persists after you’ve tried different solutions, I would recommend posting something in #platform-feedback:engine-bugs (or xbox bugs).

Purchases on Xbox have been working for me, so it might just be a sandbox issue.

EDIT:
Also since it’s a button instead of using “Activated”, use “MouseButton1Click”.

EDIT 2:

script.Parent.MouseButton1Click:Connect(function()
game:GetService(“MarketplaceService”):PromptProductPurchase(game.Players.LocalPlayer, 942236577)

Sorry on mobile can’t format nicely. If it’s a localscript which it should be, try that and it should work.