How can I make a purchase for consumable items?
dev-musit opened this issue · 1 comments
dev-musit commented
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.
github-actions commented
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.