Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Whats the point of returning purchaseg?ranted and notprocessedyet?

Asked by 4 years ago
Edited 4 years ago

I never saw a point on what returning these do, does robloxx read them?

After a person purcahses something like a developer product

I noticed them doing

        return Enum.ProductPurchaseDecision.NotProcessedYet
    return Enum.ProductPurchaseDecision.PurchaseGranted

and i was wondering

1
It's returning the outcome of the purchase through the function Robowon1 323 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

When you return purchase granted, Roblox knows that the purchase went smoothly and it’s case closed. When you return NotGrantedYet, the callback will still fire until it’s granted, so Roblox makes sure the buyer received what they paid for.

Ad

Answer this question