0

我正在开发具有应用内功能的应用程序,需要根据用户的需要一次又一次地购买,但是当我们尝试再次购买产品并出现错误消息时应用程序崩溃-The original purchase must be reported as fulfilled before you can try to repurchase 我尝试使用ReportProductFulfillment(pID); 但不确定使用此方法的位置,请建议我该怎么做?

注意-我的产品是消耗品

谢谢。

4

1 回答 1

0

你用过这个方法吗?当收据来自服务器(Windows 商店)时,请试试这个。

ReportProductFulfillment(productId);

    // Summary:
    //     Notifies the marketplace that the application has delivered the paid-for
    //     goods to the user. You cannot repurchase a product until you have confirmed
    //     its delivery using this method
    //
    // Parameters:
    //   productId:
    //     The ID of the product that has been delivered to the user.
    public static void ReportProductFulfillment(string productId);
于 2013-04-25T04:17:50.113 回答