Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Enum.ProductPurchaseDecision grant later moment?

Hello! I'm making a game where the player buys a developer product for a service but as a guarantee, we pay back if we couldn't fixi t. To do this without extra fees, we would like to use the Enum.ProductPurchaseDecision.NotProcessedYet thing. But how do you set it on a later time to Enum.ProductPurchaseDecision.PurchaseGranted?

Would it look like this: Enum.ProductPurchaseDecision.PurchaseGranted(purchaseId)?

Thanks for your help and time, Jonas

1 comment

0

Pay back as in give back robux?

1 answer

ProcessReceipt will keep on being called until PurchaseGranted is returned. So if you don't want it to be granted right away, keep returning NotProcessedYet. And somehow tell the script when you want it to be granted, return PurchaseGranted.

2 comments

0

hmm

0

?

This discussion is preserved as it was. New answers, comments, and votes are closed.