我想放在一起模拟购买了Windows 8的(商店)的应用程序代码。模拟一个Windows 8 Store应用程序购买
的代码非常简单,使用Windows API:
var result = await CurrentAppSimulator.RequestProductPurchaseAsync("product", true);
// this is still false...
var active = CurrentAppSimulator.LicenseInformation.ProductLicenses["product"].IsActive;
第一次调用打开了,让我来模拟从购买的返回码的对话框。
,甚至当我选择S_OK,下一行仍然会检查是否许可是活动的,返回false。
这里有什么问题?
查看答案在这里:http://stackoverflow.com/questions/15999604/windows-8-store-app-how-do-i-test-in-app-purchase – mydogisbox 2013-04-26 17:57:31