Prevent fake-donation exploit

Hello, developers!

I’ve come here to ask about an issue, exploiters can cause fake donations inside of my game - how do I prevent this?

I’ve already patched the “update price after purchase prompt” - but, someone joined and (I guess injected a script) that somehow bypassed it.

1 Like

you’re gonna have to be a bit more specific, how do donations work in your game? any code to go along with it?

1 Like

you need to secure remote events. If someone connects to a remoteEvent without sufficient info or information that looks off you ban them.

1 Like

The game uses “PromptPurchaseFinished” and " PromptGamePassPurchaseFinished" on the server to detect when a purchase has been completed. The game than uses 3 sets of data to check item price. GetProductInfo and 2 APIs