I am trying to make a bundle buyer system for my game everything I do to try and fix it won’t work this is the error message:
And here is the code:
local ProximityPrompt = script.Parent
local ItemID = 869
ProximityPrompt.Triggered:Connect(function(player)
local MarketplaceService = game:GetService(“MarketplaceService”)
MarketplaceService:PromptPurchase(player, ItemID)
end)
HTTP 400 Error is most likely a syntax error, make sure that if the ItemID is correct
Its correct Its the Arctic Light bundle.
Maybe use PromptProductPurchase? This didn’t give me any error so hopefully this works! And test in the actual game (not in studio)
MarketplaceService:PromptProductPurchase(player, ItemID)
It don’t put an error in the output now but it still shows this instead of the item
Uhm sorry I made a mistake, oops. It’s PromptBundlePurchase. I haven’t gotten an error this time and the bundle was shown to me.
MarketplaceService:PromptBundlePurchase(player, ItemID)
It works, Thank you so much!
1 Like
system
(system)
Closed
#8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.