[UWP] [C#] CurrentAppSimulator.GetProductReceiptAsync throws方法或操作未实现 [英] [UWP][C#] CurrentAppSimulator.GetProductReceiptAsync throws The method or operation is not implemented

查看:55
本文介绍了[UWP] [C#] CurrentAppSimulator.GetProductReceiptAsync throws方法或操作未实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我正在使用  CurrentAppSimulator

I'm testing unfulfilled purchases in my app using CurrentAppSimulator

然而
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 test unfulfilled purchases?

谢谢

Gavin

推荐答案

FishInPond ,

Hi FishInPond,

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

I test the CurrentAppSimulator.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 use CurrentAppSimulator to test the In-app purchases. If you submit your app to the store, we should able to use the CurrentApp to replace the CurrentAppSimulator.

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

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方法或操作未实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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