Developer Purchase Duplication Glitch

Hello all!

I am a scripter for a new game coming soon and I was wondering if you guy’s would know anything about a currency purchase duplicating when bought more than once. The currency is cash and every time you buy the 1k option, u get 1k then if you buy again it gives you 3k then 6k, and 10k+. I don’t know why this is happening at all and any help would be much appreciated.

The code is:


and this is inside of the purchase button.

I suspect it might be something to do with creating receipt?

You have to return Enum. ProductPurchaseDecision.PurchaseGranted
If not it will try to add it again as it wasn’t told yet that it has been processed successfully.

1 Like