Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is it normal that my developer product is not on-sale in studio?

Alright. So I decided to implement a donate function to my model called "Bartekrabit's Control Panel" (indev). I wanted to make a "test purchase" in studio and see if it would ask me to buy the item. It says that the item is currently not on-sale. I'm surprised with this since this is the first time i'm working with developer products. Also, buying gamepasses in studio said it's a test purchase but it didn't say the gamepass is off-sale (like it did with the dev product). Is it just like that on studio? Did I do something wrong?

short code but still useful:

script.Parent.MouseButton1Down:connect(function()
	game:service("MarketplaceService"):PromptPurchase(script.Parent.Parent.Parent.Parent.Parent,129234802)
end)

And yes, I will plan to make it broadcast a message but right now I don't need help with that. I just want to know that is it normal that this happens?

Edit: Added images:

http://prntscr.com/hutkjd http://prntscr.com/hutknf

3 comments

0

All sales in studio are "test sales". Did you set a price for the dev product?

0

Yes, It's set as 25 ROBUX.http://prntscr.com/hutkjd

0

game:GetService("MarketplaceService") try that

1 answer

Try this:

script.Parent.MouseButton1Down:connect(function()
game:GetService("MarketplaceService"):PromptProductPurchase(script.Parent.Parent.Parent.Parent.Parent,129234802)
end)

I added PromptProductPurchase and GetService. Might do the trick.

This discussion is preserved as it was. New answers, comments, and votes are closed.