2013-04-24 42 views
0

我正在开发具有In应用功能的应用程序,需要根据用户的需要一次又一次购买,但是当我们尝试再次购买带有下游错误消息的产品时,应用程序崩溃 - The original purchase must be reported as fulfilled before you can try to repurchase 我试过使用ReportProductFulfillment(pID);但不知道使用这种方法的位置, 请建议我该怎么做?在应用购买易耗品响应错误

注意我的产品是易耗品

谢谢。

回答

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); 
相关问题