question

jcoriston avatar image
jcoriston asked

Possible to keep track of purchase platform 'inside' of an awarded/inventory CatalogItem?

We are hoping to launch our game on multiple platforms, and would like to keep track of what platform the user purchases their entitlements on. After some realization and research, there appears to be no straightforward way of doing this.

Use case:

- User completes a purchase of a bundle using Google Play on Android

- The bundle is granted to the user, (as well as the items from the bundle being granted to the user)

Is there a way to mark that the items in their inventory were purchased on the Android platform?

Player Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Actually, both the receipt validation event (https://api.playfab.com/playstream/events/player_receipt_validation) and the real money purchase event (https://api.playfab.com/playstream/events/player_realmoney_purchase) has the payment provider as part of their data, so yes, you can indeed use that as part of your analytics. The individual items in the player inventory are not marked as being purchased on a particular platform, in part because that could get very confusing for stackable items (is the platform the one that the "base" of the stack is from, or the most recent purchase?).

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.