Search code examples
flutterin-app-purchaserevenuecat

Purchase is a duplicate and will not be reported


I am using package purchases_flutter for handling in app purchase. This package is powered by RevenueCat

Payment dialog appear by executing this line

Purchases.purchasePackage(package);

For android all is working good but for iOS I am facing following error

Purchase is a duplicate and will not be reported. Product ID: product_id

Is there any workaround for this?


Solution

  • That's a Firebase Analytics message, not an error during the purchase process: Firebase error when doing IAP

    I believe it simply means Firebase Analytics think's it's already recorded an event for that purchase so it isn't logging again. This would be common during testing when you repeatedly buy the same product.