locked
In App Purchase

    Question

  • Hi there!

    Working now on in-App-Purchases (Universal App) and  having a question. 
    How can I get the UserId who makes this purchase?

    Live Connect User Id could be incorrect because of User could change account in Store.

    Thanks everyone in advance!
    • Edited by Andrey.Kiptev Wednesday, February 11, 2015 10:53 AM some impr
    Wednesday, February 11, 2015 10:52 AM

Answers

  • I dont think you can. why you need this?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Wednesday, February 11, 2015 10:53 AM
  • Hi Andrey,

    A scenario could be parents use their account do the purchase and let their child use another account play in the same computer. How would you consider about such situation?

    Windows.System.UserProfile.UserInformation is the only way that we can get current user.

    --James


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, February 19, 2015 7:24 AM
    Moderator

All replies

  • I dont think you can. why you need this?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Wednesday, February 11, 2015 10:53 AM
  • I dont think you can. why you need this?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    To manage users purchases, Windows Store sometimes does not work
    Wednesday, February 11, 2015 11:04 AM
  • Hi Andrey,

    A scenario could be parents use their account do the purchase and let their child use another account play in the same computer. How would you consider about such situation?

    Windows.System.UserProfile.UserInformation is the only way that we can get current user.

    --James


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, February 19, 2015 7:24 AM
    Moderator