Monetize your Roblox game | Donation Board 3.0

I’m currently having an issue for when I apply for the donations I want displayed and back out, then publish, nothing saves.

How can you run normal Dev Products alongside this Donation Board?

2 Likes

You can use the ProductCallbacks module given in the model to use as MarketplaceService.ProcessReceipt.

Just copy paste all the scripts you have that work with ProcessReceipt into that module’s function and adjust it so it runs when that function is called and it should work :+1:

2 Likes

Hello, great resource, thank you.

Just wondering if you’re still working on updating this or if it’s done.

Would like the ability to have multiple boards instead of just one.

Anyway, thanks again.

3 Likes

We’re still working on it to bring more features, customizability, and user-friendliness. Version 3.5 will have the ability to add multiple boards :+1:

3 Likes

Hello, have you added this yet?

Not sure if you’re aware but some normal Dev Products you buy e.g. in-game currency will trigger twice after the first purchase if you use the Product Callback module, not sure if I need to return something in there, and not sure if I can add anything in the “ProcessReceipt” function that triggers for all since that triggers first

From what I saw in the main module loader I also didn’t notice if you were recording any of these purchases in DataStoreService:GetDataStore(“PurchaseHistory”)

Let me know if I’m wrong with anything and if I can fix this somehow

Example:

	[2703940538] = function(receipt) --> Number indicates specific ID
		local player = Players:GetPlayerByUserId(receipt.PlayerId)
		if player then
			PlayerData.AddCoins(player, 100)
			uiAnimation.ShowCoins(player, 100, false)
		end
	end,
1 Like

Fixed it by adding ProductPurchaseDecision in the Server // MainModule

	--| @ Custom Processes
	if _G["Donation Board // V3"].ProductCallback["ProcessReceipt"] ~= nil then _G["Donation Board // V3"].ProductCallback["ProcessReceipt"](receipt) end
	if _G["Donation Board // V3"].ProductCallback[receipt["ProductId"]] ~= nil then
		_G["Donation Board // V3"].ProductCallback[receipt["ProductId"]](receipt)
		
		return Enum.ProductPurchaseDecision.PurchaseGranted
	end
1 Like