应用购买问题中的Windows应用商店 [英] Windows Store In App Purchase Issue
问题描述
使用 StoreContext.RequestPurchaseAsync() 来自命名空间Windows.services.Store,
我得到一个带有ExtendedError消息的StorePurchaseResult " Value不在预期的范围内。"
我已经在thi上提交了这个问题论坛和StackOverflow,但我还在等待答案。
该应用程序已发布,可从Windows应用商店下载。
它是使用DesktopAppConverter工具转换的.stabus.appx是根据Store(Identity Name,Publisher ...)中的描述设置的。我按照下面提供的说明进行操作使用桌面桥的Windows
桌面应用程序的UI线程在C#中进行应用程序内购买。
Hello ,
对于延迟回复感到抱歉。
当我们就此问题咨询相关团队时,我们得到了这个:
在这种情况下,它是一个"E_INVALIDARG"。 失败来自令牌经纪人试图获取用户的登录数据。
这个错误的唯一可能原因是HWND无效。
希望这会有所帮助。
最诚挚的问候。
Annievia
跨度>
When performing an in-app purchase from a WPF Desktop Application using StoreContext.RequestPurchaseAsync() from the namespace Windows.services.Store, I get a StorePurchaseResult with an ExtendedError message "Value does not fall within the expected range."
I have already submitted the issue on this forum and on StackOverflow, but I am still waiting an answer.
The application is published and available for download from the Windows Store.
It was converted using the DesktopAppConverter tool. The manifest.appx was set according to the description in the Store (Identity Name, Publisher...). I followed the instructions provided below for using in-app purchase in C# from the UI thread of a Windows desktop application that uses the Desktop Bridge.
Hello,
Sorry for the delay response.
When we consulted related team about this issue, we got this:
In this case it is an "E_INVALIDARG". The failure is coming from the token broker trying to get the user’s sign in data.
And the only likely cause of this error is the HWND is invalid.
Hope this helps.
Best Regards.
Annievia
这篇关于应用购买问题中的Windows应用商店的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!