I’m making a quick mannequin that will prompt the shirt purchase when you click it but I ran into a problem I’m not sure how to solve, I’m using :PromptPurchase(player, id) and sending the right iformation through yet it still says “This item is not on sale”
script:
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local mps = game:GetService("MarketplaceService")
local id = "http://www.roblox.com/asset/?id="
script.Parent.MouseButton1Click:Connect(function()
print("Clicked")
local pants = script.Parent.Parent.Settings.Pants
print("Value: ", pants.Value)
character:FindFirstChildOfClass("Pants").PantsTemplate = id..tostring(pants.Value)
print(pants.Value)
mps:PromptPurchase(player, pants.Value)
end)
I think that is because if you purchase in roblox studio, it counts as a test. but it still leaves the item is not on sale issue. I think all you have to do is go on the website and configure it.
I tested it ingame and same results, I think its because the shirt instance changes it’s ShirtTemplate id from the actual shirt on the catalog to the template of the shirt and not the shirt itself
I honestly don’t know what to say, I have not had a whole lot of experience here but I watched a video on it and it said that something about if you press it, it counts as a test purchase. Check out a video by @Alvin_Blox to see more about it.