• Sign Up Login
  • Features
    • Game Services
    • Real-time Analytics
    • LiveOps
    • Add-ons
  • Game Services
  • Real-time Analytics
  • LiveOps
  • Add-ons
  • Games
  • Pricing
  • Blog
  • Support
    • Docs
    • Forums
    • Contact
  • Docs
  • Forums
  • Contact
  • Sign Up Login
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by simong@everguild.com · Nov 19, 2015 at 02:44 PM ·

InAppPurchase with iOS and Google

If I understand well after reading this post https://playfab.com/blog/show-me-money-receipt-validation-ios-and-android/

Once I purchased the item through the store (iOS or Google)
I need to send a validationReceipt to playfab and once the receipt is validated the item is added to the inventory.
How do I get the ItemInstance afterward?

Comment
eric@begoodi.fr
Hamza Lazaar

People who like this

2 Show 0
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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Nov 20, 2015 at 03:09 AM

The item instance is added to the player's inventory as part of receipt validation - the ItemId must match the Product ID in the platform (iTunes/etc.) catalog, as we match that from the receipt. Once it has been added, you can retrieve it from the player inventory. We do have an open bug to return the ItemInstance in the response from the receipt validation calls as well, so we'll be updating to add that as soon as possible.

Comment

People who like this

0 Show 5 · 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
avatar image tim@ninjatertle.com · Jan 26, 2016 at 12:05 AM 0
Share

"We do have an open bug to return the ItemInstance in the response from the receipt validation calls as well, so we'll be updating to add that as soon as possible."


Any update on this? It'd be very handy.

avatar image Brendan ♦♦ tim@ninjatertle.com · Jan 26, 2016 at 03:16 AM 0
Share

Not yet, sorry. We prioritize our work in part based on community feedback, and to date, we've only had a couple of people ask about this one. I'll re-ping the engineering team on this item.

avatar image eric@begoodi.fr tim@ninjatertle.com · Jan 26, 2016 at 08:37 AM 0
Share

I have the same problem, after grant an item, the ItemInstanceId is not in the response and I have to query whole inventory again and loop to search for it. Would be very useful if it was in the response as for other queries (if not too much work).

avatar image simong@everguild.com tim@ninjatertle.com · Jan 26, 2016 at 03:03 PM 0
Share

We are interested as well :)

Show more comments

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

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    • PlayFab

      • Features
      • Games
      • Pricing
      • Blog
    • Engineers

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

      • Forums
      • Videos
      • Contact
      • Service Health
      • Terms of Service
    • Social

      • Facebook
      • Twitter
      • LinkedIn
      • YouTube
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • About Microsoft
    • Jobs
    • Accessibility
    • Diversity & inclusion
    • Security
    • Company news
    • © Microsoft 2019
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Post an idea
    • Create an article
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges