Purchase is a duplicate and will not be reported

Issue

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.

Answered By – enc_life

Answer Checked By – Senaida (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.