DBManager.IncreaseFunds is not adding any coins



  • It seems that updating funds does not trigger any event at Playfab at least in development mode.
    Other events like buying items is reflected in Playfab history.
    So calling DBManager.IncreaseFunds is not adding any coins for the player at Playfab



  • This is correct. DBManager.IncreaseFunds does not trigger a PlayFab call automatically as if it would do it every time, this could happen too excessive and could result in your player being banned from PlayFab for too many requests.

    Please see section 8 in our PlayFab guide.



  • Am using your scenes examples and at a coin purchase test the game does update the UI with coins but Playfab does not register the test purchase.
    However it does register virtual items purchases.
    Also when starting the game again the amount of funds are not being restored from Playfab. Even if i update the funds manually at Playfab the funds are not being updated at startup after logging in.



  • You are describing two different issues now:

    • Playfab does not register the test purchase

    There could be several problems with this, please see the other existing thread for this. Basically I cannot guess what is wrong with your PlayFab setup, you'll have to figure that out on your own, by going over our PlayFab guide.
    https://www.rebound-games.com/forum/topic/2287/real-money-purchases-not-validated-but-virtual-items-are

    • Also when starting the game again the amount of funds are not being restored from Playfab.

    If your device is logging in with the exact same player ID on PlayFab - it does fetch the currency amount. This is what happens in the sample scenes. You can check if this is the case by enabling development mode and looking at the player ID debugged in the console (or device log).


Log in to reply