Hi,
I need to reset some user data when a player validate a receipt (using PlayFabClientAPI.ValidateGooglePlayPurchase).
I tried to define a rule using "com.playfab.player_receipt_validation" as Event Type.
As Condition I have set "Valid boolean is True".
As Action Execute Cloud Script --> MyFunction --> Arguments: "null".
Is this correct? It seems not working... In my function I can assume that currentPlayerId variable is set to the id of the player that has triggered the validation?
Thank you.
Best Regards,
Andrea