[UWP] [C#] CurrentAppSimulator.GetProductReceiptAsync throws方法或操作未实现

编程入门 行业动态 更新时间:2024-10-25 19:30:10
本文介绍了[UWP] [C#] CurrentAppSimulator.GetProductReceiptAsync throws方法或操作未实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好

我正在使用 CurrentAppSimulator

I'm testing unfulfilled purchases in my app usingCurrentAppSimulator

然而 CurrentAppSimulator.GetProductReceiptAsync 抛出"方法或操作未实现"。这只发生在CurrentAppSimulator中还是发生在CurrentApp.GetProductReceiptAsync中?

However CurrentAppSimulator.GetProductReceiptAsync throws "The method or operation is not implemented". Does this only occur in CurrentAppSimulator or also in CurrentApp.GetProductReceiptAsync?

我打算如何测试未完成的购买?

How am I suppose to testunfulfilled purchases?

谢谢

Gavin

推荐答案

FishInPond ,

HiFishInPond,

我测试了项目中的CurrentAppSimulator.GetProductReceiptAsync方法,我无法重现您的问题。

I test theCurrentAppSimulator.GetProductReceiptAsync method in my project that I can not reproduce your issue.

>>这是否只会发生在CurrentAppSimulator中还是在CurrentApp.GetProductReceiptAsync中?

>>Does this only occur in CurrentAppSimulator or also in CurrentApp.GetProductReceiptAsync?

如果您没有将应用程序提交到商店,我们应该可以使用CurrentAppSimulator来测试应用内购买。如果您将应用程序提交到商店,我们应该可以使用CurrentApp来替换CurrentAppSimulator。

If you do no submit your app to the store, we should able to useCurrentAppSimulator to test the In-app purchases. If you submit your app to the store, we should able to use theCurrentApp to replace theCurrentAppSimulator.

请您分享一个简单的转载项目,它将帮助我们分析和更清楚地诊断这个问题。

Would you please share us a simple reproduced project, it will help us analyze and diagnose this issue more clearly.

最好的问候,

Jayden Gu

Jayden Gu

更多推荐

[UWP] [C#] CurrentAppSimulator.GetProductReceiptAsync throws方法或操作未实现

本文发布于:2023-11-14 19:10:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1588291.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:操作   方法   CurrentAppSimulator   UWP   throws

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!