If I buy same developer product twice, It works twice too

i made developer product that gives 1000 money(it called Fallar in this game), when they are bought.

right.

and right. It works +1 times when I buy that

tras

magam

srap in 9 line is value that expresses money of player.
As you see, this value is working good.
But number of work is not good…

And you can see print(“damas”) in 12 line.

gasim

also working good.
But when I continue to buy product, Its printing time is increased…
It shows reward for buying script is working 1+ times when I buy

How can I solve it?

You need to return a status to let the MarketPlace know the purchase was successful. Otherwise there is built-in retry system.

return Enum.ProductPurchaseDecision.PurchaseGranted

1 Like