"This Item Is Not Currently For Sale..." Bug, with everything correct it seems like

I want to prompt a purchase of a DevProduct.

The prompt says “This Item Is Not Currently For Sale. Your Account Has Not Been Charged” Even though everything seems correct. The ID’s and the script.

I used “PromptPurchase” instead of “PromptGamepassPurchase”, I checked the ID’s, I tried creating the DevProduct directly in Roblox Studio, I’ve tried every solution I’ve found online.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

local marketPlaceService = game:GetService("MarketplaceService")

local players = game:GetService("Players")

local part = workspace:WaitForChild("Prompter")

local id = 1833563548

part.Touched:Connect(function(hit)

print(id)

local plr = players:GetPlayerFromCharacter(hit.Parent)

if plr then

	marketPlaceService:PromptPurchase(plr,id)

end
end)

Bumping because I’ve asked everywhere but here and have yet to obtain a solution.

Since this is a developer product prompting a gamepass purchase won’t work, try using PromptProductPurchase, let me know how it goes.

oh my gosh. something so simple. this worked thank you!

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