Hello everyone! I have a little problem, I tried to sell a developer product but when it's prompted to the user, it always says: "this item is not currently for sale. Your account has not been charged".
Here is my code:
local rep = game.ReplicatedStorage
local event = rep.PaymentEvent
event.OnServerEvent:connect(function(player,recipient,kind)
game:GetService("MarketplaceService"):PromptPurchase(game.Players:FindFirstChild(recipient), 120073404)
print("event sent")
end)
Thanks for your help and time, Jonas

7 comments
Thats a code line not a block. https://forum.scriptinghelpers.org/topic/82/how-to-format-questions-answers-on-the-main-site
oh ty. now i just need an answer to my question XD
Can you edit your question with to include the code block.
ok
there you go :)
Have you set up the developer product correctly
mhm