I’ll use this default format since I believe it’ll be easiest for most to read.
-
What do you want to achieve?
I want to prompt a developer product purchase that is from a third-party universe and have it successfully go through. -
What is the issue?
After prompting it (which goes successfully), it fails to purchase. This happens with any developer product outside of the universe, and does not matter of price. This only occurs within the ROBLOX client, not studio. Third Party Purchases are enabled in the game settings, as well as API services, HTTP requests and Third Party Teleports.
-
What solutions have you tried so far?
I’ve tried a variety of solutions, testing with different prices, different games, even attempting to use other MarketplaceService methods to prompt this to work, all have failed. The methods which are explicitly labeled for Third Party purchases (found in the documentation) run at instance level 3, which cannot be accessed by standard level 2 scripts.
If you would like to test this, be my guest. You can find my testing game here.
The code that invokes this is the standard, cookie cutter, ROBLOX documentation demonstration code, with slight modification for readability. Simply put this in a LocalScript under StarterPlayer > StarterPlayerScripts, and test within the client.
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local productId = 1352696793
wait()
MarketplaceService:PromptProductPurchase(player, productId)
Let me know if you have any thoughts or ideas to try, I’m open to anything. I would have posted this as a bug report, if I had access to do so.