IDs are the same

Hello, I was trying to make a dev product store. I came accross a huge discovery.

IDs are the same look at my example:

MY DEV PRODUCT:
1805609762

SAME ID:
(1) Seattle - Roblox

[] [] []

MY DEV PRODUCT:
1821503829

SAME ID:
(1) kitbids23’s Place - Roblox

Is there something I dont know that would like not redirect users to buying the clothing or join the game etc?

Dev products are made to be bought ingame, you shouldn’t be using it’s ID outside of your game.

dev product id system is different from asset id system this isn’t a bug just a coincidence

but I put it from my games marketplace for my games store and it prompts a purchase to clothing instead?

you are using the wrong function then

local markServ = game:GetService("MarketplaceService")
local plr = game:GetService("Players").LocalPlayer

local buttonTable = {
    ["1"] = 1821508799,
    ["2"] = 1805609552,
    ["3"] = 1805627684,
    ["4"] = 1805628924,
}

for i,v in pairs(script.Parent.StoreFrame:GetChildren()) do
    if v:IsA("TextButton") then
        v.MouseButton1Click:Connect(function()
            markServ:PromptPurchase(plr, buttonTable[v.Name])
        end)
    end
end

PromptProductPurchase not PromptPurchase

1 Like

un related but this is my system to give currency idk why it ain workin is it bcuz of the product ids

local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")

local productFunctions = {}

productFunctions[1805609762] = function(receipt, player)
	
	player:WaitForChild("UserData").Currency.Value += 1000
	return true
end

productFunctions[1805609552] = function(receipt, player)

	player:WaitForChild("UserData").Currency.Value += 2000
	return true
end

productFunctions[1805627684] = function(receipt, player)

	player:WaitForChild("UserData").Currency.Value += 3500
	return true
end

productFunctions[1805628924] = function(receipt, player)

	player:WaitForChild("UserData").Currency.Value += 5500
	return true
end

Because you didn’t bind the receipt to the table of functions. Consider actually reading the documentation before asking questions

How do I do this?! I am kinda new.

It’s written in the documentation