Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by Evil Twin · Nov 02, 2021 at 08:33 PM · In-Game EconomyPlayer Inventory

Noticed Odd Inventory behaviour

I am implementing Steam purchases into a game that already was working with a different type of purchase system. While implementing and testing Steam purchases, I've noticed something that looks "odd":

I have initiated purchasing some Bundles that are priced in RM. The player's Event Data shows these events:

player_started_purchase

player_paid_for_purchase


What hasn't been completed is the final confirmation from Steam, so there are no additional events, like player_realmoney_purchase or otherwise.

.

HERE IS THE ODD PART:

If I explore the player Inventory, they HAVE the bundles. They are consumed and expired and they did NOT receive the items in them.

Since they didn't actually pay for the bundles, it's okay that they don't have the items, but I don't understand why the bundles are even listed in the inventory to begin with. Shouldn't the bundle/item be granted as the final confirmed step of the purchase flow?

Comment

People who like this

0 Show 4
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rick Chen ♦ · Nov 03, 2021 at 06:11 AM 0
Share

Could you please provide your title id, the player's id and the order id of that purchase for us to diagnose?

avatar image Evil Twin Rick Chen ♦ · Nov 03, 2021 at 05:14 PM 0
Share

I should mention that Steam Add-on Sandbox mode is on.

Title: 7962A

Player: E151B6A70C4A9453


Bundle purchase that was NOT completed:

Order ID: 2ABC582FAF78B4E2

Date: 11/02/2021 8:59 PM

Compare to Bundle purchase that WAS completed:

Order ID: 8A9DAF577B743EEC

Date: 11/03/2021 6:27 PM


Thank you for looking into this.

[EDIT]: Further testing revealed this:
Once the player initiated a purchase (Steam) the Bundle is added to the player's account Inventory but Currency contents not given (presumably this would be true of other contents, not just currency but my test bundle only contained currency).

After final authorization of payment is completed, then the Bundle contents are given. It's as if the item is "reserved" for purchase but not actually granted even though it shows up in Inventory either way.

In the end, the experience for the player is not impacted but this does impact data/analytics.


(NOTE for anyone else reading this: "player_paid_for_purchase" event is very misleading, since the player hasn't paid, but this event appears when a request for payment is initiated to Steam. The ACTUAL "paid" event is "player_realmoney_purchase" ).

avatar image Rick Chen ♦ Evil Twin · Nov 05, 2021 at 04:12 AM 0
Share

I have inspected your title, I don’t think the bundle was granted to the player for the order 2ABC582FAF78B4E2. Because I cannot find the event “player_inventory_item_added” for the item “TOKENS001” near the time when the event “player_paid_for_purchase” for the order 2ABC582FAF78B4E2 was generated. For the success order 8A9DAF577B743EEC, there is a “player_inventory_item_added” event with id “2783ab7907a840c8abab42a15aa1cc0e”, which indicates that the bundle was added to the player. How do you know the bundle was given to the player for the incomplete purchase?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by Rick Chen · Nov 24, 2021 at 10:01 AM

I cannot find that player in your title anymore, was that Player deleted? You mentioned that you found the bundle in the player’s inventory with "Show Revoked/Expired" turned on, however, it is hard to say that bundle was granted by the incomplete purchase, it could be granted somewhere else. Could you please try again and see if you can still reproduce this issue? If you successfully reproduce it, please provide the player's id, the order id of that purchase and the bundle instance id for us to diagnose.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    8 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    The rules don't work 0 Answers

    Catalog Versions in inventory 1 Answer

    PlayFab.PurchaseItem purchases multiple instances of bought item 1 Answer

    GetCatalogItems returns empty properties (discarded in the past) 1 Answer

    Unable to fetch player virtual currency? 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges