Reputation: 11
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:
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
I have tried updating API, changing version of XAML, looking for similar problems in other projects on the web.
UPD: I have found a following error Event Viewer:
ReactControlViewer.OnWebViewScriptNotify. Message is null or unsupported. Returning early. Original value: {"message":"status","version":"20240512.1_k8s","data":"https://www.microsoft.com/store/purchaseui/purchase-ui/static/js/client.47b6aac7.js script loaded"} Error: The operation completed successfully. Function: OnWebViewScriptNotify Source: .\src\Purchase\Store.Purchase\Controls\ReactControlViewer.cs (349)
Upvotes: 1
Views: 97