Let’s say your selling your in-game currency in your game for Robux/Tickets. Currently, you have to use preset amounts. However, what if someone wants to buy more than your preset amount, or any amount in between? I suggest tacking on another argument, so the PromptProductPurchase looks like this:
void PromptProductPurchase ( Player player, int productId, bool equipIfPurchased = true, CurrencyType currencyType = Default, int Cost )
where Cost is the new price of the Developer Product. If it’s nil, the preset cost is used.