I have two scripts and the message that says "Would you like to buy this?" comes up but even if someone buys it, I don't get the robux/tickets. The first one is on a local script placed into the StarterPack:
local buyButton = game.Workspace.BuyButton.SurfaceGui.TextButton local productId = 19198634 buyButton.MouseButton1Click:connect(function() game:GetService("MarketplaceService"):PromptProductPurchase(game.Players.LocalPlayer, productId) end)
and:
local productId = 19198634 game.Players.PlayerAdded:connect(function(player) Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId) end)
There's a thing called Pending Sale. You should know about it before making Dev Products.
wall124 is right. Here is the meaning of Pending Sale.
It's the sales you've made from game passes, however it's held from you for two days just incase someone reports your passes as a scam. That way they can get their money back.