Hello Playfab developers,
I had a question regarding receipt validation for google play store and the App store. Currently, as I understand it, the client functions ValidateInappPurchaseIOS and ValidateInappPurchaseGoogle work like this. The user completes a transaction on said store (i.e their money has been retracted from their bank account) and receives a receipt. I then pass this receipt to the Playfab validation functions and if all is ok the user will get the bundle with the appropriate ID that i setup in the Playfab Economy tab. This is the best case scenario. But what happens if the user buys something, receives a receipt but then the validation function fails for some reason or another? The solution i was thinking of trying was to cache this receipt and try the validation again later. I don't know if it will work since i am not sure how you make that receipt validation ( for example if you check the receipt time stamp for example ). I've had a user that had his money taken away but received nothing in game ( I checked to see if he received said bundle and he did not in his playfab inventory page ). I am sorry if this question was asked before, I checked the forums and could find no solution to this problem. Any help would be apprectiated.
Keep up the good work!