Getting 'storekit_duplicate_product_object' error trying to buy a non-consumable. (iOS)

938 views
Skip to first unread message

Jeff Jorczak

unread,
Apr 28, 2020, 6:14:29 PM4/28/20
to Flutter Development (flutter-dev)
Somehow while testing an app I got into a loop where I get this error every time I try to buy a product:

    final PurchaseParam purchaseParam = PurchaseParam(
        productDetails
: product,
        applicationUserName
: null,
        sandboxTesting
: kUseStoreSandbox);

    _inAppPurchaseConnection
.buyNonConsumable(purchaseParam: purchaseParam);


The purchase collection comes back empty, so the purchase I made in a previous iteration of testing must be in a state of pending. It appears I have no way to retrieve it to cancel or complete it. Anyone else worked through similar?

Jeff Jorczak

unread,
Apr 29, 2020, 3:44:06 PM4/29/20
to Flutter Development (flutter-dev)
I believe this is happening because my listener is not getting called to "unpend' the purchased transaction. Posting as another topic.
Reply all
Reply to author
Forward
0 new messages