[UWP]在Windows 10之后,应用内购买会继续重置 [英] [UWP]In-app purchases keeps resetting after Windows 10

查看:78
本文介绍了[UWP]在Windows 10之后,应用内购买会继续重置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我已经为我的应用程序长期面对这个问题了。在我的应用中购买IAP的用户不断重置它们。这太令人沮丧了。他们可以再次购买并且不需要为他们支付费用,但是每次这个错误发生时每个人都会花这个
是痛苦的。有些情况我不能只恢复inapp购买。


编辑:如果使用任何inapp购买名称调用currentApp.requestProductPurchaseAsync(),显然许可证会同步。有没有办法强制许可证以任何其他方式同步?


我尝试联系ms支持但需要支付高价订阅才能提交支持服务单。


帮助?

解决方案

Hello MannyFCan,


 


< p style ="margin:0cm 0cm 0pt"> 从Windows 8.1升级到Windows 10后问题是否发生?


创建怎么样IAP中的新产品。同样的问题会持续存在吗?


 


>>有没有办法强制许可证以任何其他方式同步?


当您尝试以下代码时:


< span lang ="EN-US"> if(licenseInformation.ProductLicenses [" featureName"]。IsActive)


{


    //客户可以访问此功能


}


它没有返回正确的值?您的客户在他的PC上购买了此功能,但他第二次无法检测到它?


我不太确定这里的"同步"是什么意思。我没有看到任何API工作如刷新许可证。


也许您的意思是您的客户登录到其他地方并遇到同步问题?如果是这样,你可以在这里查看:
使用收据验证产品购买


 


无论如何,我想你可以在这个渠道的帮助下通过电子邮件咨询(如果问题在仪表板上待定):


https://dev.windows.com/en-us/community/windows-app-support


 


祝你好运,


Barry < /跨度>


So, I have been facing this problem for my app for a long time now. Users that purchased IAPs in my app keep getting them resetted. This is so frustrating. They can make the purchase again and won't need to pay for them but it's painful for everyone do this every time this bug happens. And some scenarios I can't just restore the inapp purchase.

Edit: apparently the licenses synchronizes if calling currentApp.requestProductPurchaseAsync() with any inapp purchase name. Is there a way to force licenses to synchronize in any other way?

I tried contacting ms support but need to pay a high price subscription to submit a support ticket.

Help?

解决方案

Hello MannyFCan,

 

Does the problem happens after you upgrade from Windows 8.1 to Windows 10?

What about create a new product in IAP. Will the same problem persist?

 

>> Is there a way to force licenses to synchronize in any other way?

When you tried the following code:

if (licenseInformation.ProductLicenses["featureName"].IsActive)

{

    // the customer can access this feature

}

It does not return the right value? Your customer bought this feature in his PC but he cannot detect it the second time?

I’m not so sure what is the "synchronize" mean here. I haven’t saw any API works like refresh the license.

Maybe you mean your customer sign in to another place and meet the synchronize problem? If so, you can check here: Using receipts to verify product purchases

 

Anyway, I think you can start by consulting from an email with the help of this channel(If the problem is pending on dashboard):

https://dev.windows.com/en-us/community/windows-app-support

 

Best regards,

Barry


这篇关于[UWP]在Windows 10之后,应用内购买会继续重置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆