diff --git a/plugins/inappstore/in_app_store.mm b/plugins/inappstore/in_app_store.mm index 273c136..6e4390c 100644 --- a/plugins/inappstore/in_app_store.mm +++ b/plugins/inappstore/in_app_store.mm @@ -231,15 +231,6 @@ - (void)finishTransactionWithProductID:(NSString *)productID { self.pendingTransactions[productID] = nil; } -- (BOOL)paymentQueue:(SKPaymentQueue *)queue shouldAddStorePayment:(SKPayment *)payment forProduct:(SKProduct *)product { - Dictionary ret; - ret["type"] = "purchase_deferred"; - ret["result"] = "ok"; - ret["product_id"] = String::utf8([payment.productIdentifier UTF8String]); - InAppStore::get_singleton()->_post_event(ret); - return false; -} - - (void)reset { [self.pendingTransactions removeAllObjects]; }