Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

"this item is not currently for sale"??

Asked by 1 year ago
Edited 1 year ago

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

0
oh ty. now i just need an answer to my question XD marketmanager1 52 — 1y
0
Can you edit your question with to include the code block. kingdom5 5372 — 1y
0
ok marketmanager1 52 — 1y
View all comments (3 more)
0
there you go :) marketmanager1 52 — 1y
0
Have you set up the developer product correctly OMG_Gaming404 73 — 1y
0
mhm marketmanager1 52 — 1y

1 answer

Log in to vote
0
Answered by 1 year ago

Aha. looks like i had to do this client sided. Thanks for the help guys!

Ad

Answer this question