In ProcessPurchase() in the example script above link,
public PurchaseProcessingResult ProcessPurchase(PurchaseEventArgs e)
{
// NOTE: this code does not account for purchases that were pending and are
// delivered on application start.
// .... }
And I understand that if the game have been reinstalled, ProcessPurchase() would be called right after the start of the game(google said).
But, at the start of the game. The user maybe not logined to Playfab, so can't call validation API of Playfab. So, there is a part of the example code like this:
if (!IsInitialized || playfab.isLogined()) // not logined to playfab
{
return PurchaseProcessingResult.Complete;
}
It looks like bypassing the validation.
So the problem is,
Is it possible to makes the case that the specific item purchased successfully at google store but not get investigated via Playfab validation so the item doens't show up at the player's inventory of the Playfab?
I think that must be a problem. Or is it just not the case? How can I make the Google purchase and the Playfab validation are matched exactly? Please let me know. Thanks!