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:
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.