call RequestPurchaseAsync fail

华 张 156 Reputation points
2020-08-27T08:27:01.117+00:00

My app needs to call Microsoft Store to pay, and following:

  1. Get all add-ons, it's work good.
  2. Select one add-on from step 1 called RequestPurchaseAsync API.

The normal situation is to pop up the Microsoft login page, and then select the payment method

But in step 2, the Microsoft login page disappeared very quickly when I call RequestPurchaseAsync API, look likes an exception or inner error

this is an error because of MS no correct response(pop up a login page).

Not all device isn't working, some of them can do it.

What should I do?

Universal Windows Platform (UWP)
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2020-08-28T06:26:37.163+00:00

    Hello,

    Welcome to Microsoft Q&A!

    I discussed your issue with other engineers. The issue needs more professional support and it might require some device log which is not suitable to show in the forum. I suggest that you might need to open a support ticket for this. Please contact our paid phone support at MS Support. You will get 1:1 support on that. Please kindly note that your support ticket will be free if it is Microsoft's issue. Choose Developer tools-> Windows UWP Development-> Windows 10 Universal App Dev and pick the topic you want to ask.

    Thank you.


  2. M Ms 0 Reputation points
    2023-04-28T02:03:40.2766667+00:00

    EnablueLUA = 0 : Microsoft login page disappeared very quickly when call RequestPurchaseAsync API

    EnablueLUA = 1 : RequestPurchaseAsync API works normally

    This is the result of my testing.

    It seems that the related issue occurs when the EnablueLUA registry value is set to 0 and used.

    Many users set this value to 0 to use Windows without restrictions with administrator rights...

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.