Closed dev-musit closed 1 year ago
5.3.1
Android
able to purchase multiple times
Returned an error "You already own the item"
Emulator
Set up everything, just like the example file(fixed some outdated codes) and run the requestPurchase code looking like below:
void requestPurchase(IAPItem item) { FlutterInappPurchase.instance.requestPurchase(item.productId!); }
I looked up everything I could check and there was no option for consumable items like buyConsumable in in_app_purchase.
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.
Version of flutter_inapp_purchase
5.3.1
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
able to purchase multiple times
Actual behavior
Returned an error "You already own the item"
Tested environment (Emulator? Real Device?)
Emulator
Steps to reproduce the behavior
Set up everything, just like the example file(fixed some outdated codes) and run the requestPurchase code looking like below:
void requestPurchase(IAPItem item) { FlutterInappPurchase.instance.requestPurchase(item.productId!); }
I looked up everything I could check and there was no option for consumable items like buyConsumable in in_app_purchase.