#Economy V2: Playfab After Successful Google Play Redemption, Bundle(Item) Not Added To Inventory

12 messages · Page 1 of 1 (latest)

rich shore
#

After I Consume my Google Play Item(Bundle) Then Redeem the Google Play Item(Bundle) in Playfab,
It Returns Successful and Google Play Item(Bundle) Purchase Details.

But i Do not See the Item in my Playfab Inventory.
Below is the Request To Playab

LogPlayFab: Request: {
    "CollectionId": null,
    "Entity":
    {
        "Id": "Some_ID",
        "Type": "title_player_account"
    },
    "Purchases": [
        {
            "ProductId": "gemstest",
            "Token": "Some_Google_Play_Purchase_Token"
        }
    ]
}

And This is Response From Playab

LogPlayFab: Response : {
  "code":200,
  "status":"OK",
  "data":{
    "Succeeded":[
      {
        "SuccessTimestamp":
        "2024-10-03T10:54:06.243Z",
        "MarketplaceTransactionId":"Order_ID-Numbers",
        "OfferId":"gemstest",
        "MarketplaceAlternateId":"gemstest"
      }
    ],
    "Failed":[]
  }
}

As Per the Playfab Documents,
The Item Should Already be In My Inventory,

But as you can See in the Above Attached Image,
There is no Item(Gems-Currency) in my Inventory

shadow leaf
#

If you look in your Transaction History (V2), is there a Redeem operation that occurred?

If not, has that test transaction already been redeemed and is just not consumed yet?

rich shore
#

Hello!
@shadow leaf

The Transaction History(V2) is empty

shadow leaf
#

It looks like the purchase was redeemed already on 10/3. Our system will protect you from redeeming a purchase multiple times. Try testing it again with a new purchase.

(Also, your description says "Consume then Redeem". You should invert that order.)

https://learn.microsoft.com/en-us/gaming/playfab/features/economy-v2/tutorials/marketplace-redemption/google#step-4-consumption

Set up a PlayFab bundle that can be purchased from Google Play Store

rich shore
#

oh

#

When i tried to Redeem First,
I Get Empty Array

LogPlayFab: Response : {
  "code":200,
  "status":"OK",
  "data":{
    "Succeeded":[],
    "Failed":[]
  }
}
rich shore
rich shore
#

Either Way,
Items are not Updated in Inventory

rich shore
#

@shadow leaf please check this,
Been trying to fix it for days now

shadow leaf
#

I don't have enough information to let you know what's happening. If you want to DM me a response with a real MarketplaceTransactionId I can get more info.

rich shore