Blank pop up appears when buying subscription products from Microsoft store. UWP, MS Subscriptions, Unity

Glebs Medvedevs 0 Reputation points
2024-05-15T08:10:27.14+00:00

I am currently experiencing a problem with Microsoft store API (Windows.Services.Store) in Unity UWP build of the game. I have my own API built on top of Windows.Services.Store

Situation is as following:

Pop-up appears.

I press "buy now."

It is showing a loading screen.

The pop-up becomes a blank sheet with a outlined space for some information (but without actual information).

At step 4 the only thing I can do with this pop-up is to close it by pressing on X in the top-right corner which results into the status of purchase NotPurchased.

I have figured out that the problem is in the Windows.Service.Store API. The execution is stuck in the process of awaiting RequestPurchaseAsync function. awaited function where the execution is stuck

Buying a subscription. Image

Blank pop-up. Image
Note: other InApps (Unmanaged consumables) do work as intended.

I have tried updating API, changing version of XAML, looking for similar problems in other projects on the web.

Link to stackoverflow issue: https://stackoverflow.com/questions/78461143/blank-pop-up-appears-when-buying-subscription-products-from-microsoft-store-uwp?noredirect=1#comment138339325_78461143

UPD: I have found a following error in Event Viewer:
User's image

Universal Windows Platform (UWP)
{count} votes

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.