I wanted to know how to check (or see) if a prompt purchase is successful (the user successfully buying "said item") with code?
UPDATE: I found how to get the receipt but I don't know how to check it.
example.ProcessReceipt = function(receiptInfo)
Thanks!

2 comments
THANK YOU
No problem, keep in mind that that event will return the assed id then you have to compare it to assetid of your devproduct/gamepass.