IAP Plugin Error: "This In-App Purchase has been already bought. It will be restored for free"

I have added 5 consumable IAP to my iOS game. Out of these 5 consumable IAP, when I try to purchase one specific IAP, I see the popup saying "This In-App Purchase has been already bought. It will be restored for free."

The other 4 consumable IAP are working properly. In iTunes Connect, all the 5 IAP are set to “consumable” so there is no configuration problem.

This issue happens on iPhone 6s (iOS 11.4.1) and not on iPad Air (iOS 11.4.1).

How to fix this issue?

http://greensopinion.com/2017/03/22/This-In-App-Purchase-Has-Already-Been-Bought.html

do you have other lib such as firebase.

plz try to call IAP::init(); first.
Thanks

Thank you for the reply. Yes, I am initializing the Firebase and other plugins before the IAP plugin.

I will change the plugin initialization sequence. Thank you.

I am also facing this issue on iOS only.
This is my initialize code

	sdkbox::IAP::setListener(...);
	sdkbox::IAP::init();
	sdkbox::IAP::setDebug(true);
	sdkbox::PluginFacebook::setListener(...);
	sdkbox::PluginFacebook::init();
	sdkbox::PluginOneSignal::setListener(...);
	sdkbox::PluginOneSignal::init();
	sdkbox::PluginOneSignal::idsAvailable();
	sdkbox::PluginOneSignal::enableInAppAlertNotification(false);
	sdkbox::Firebase::Analytics::init();

Please help me asap.
Thanks.

see like, the product havn’t consumed, you can invoke finishTransaction to consume this.

But this is happening everytime on purchase of consumable items.

you have invoke setAutoFinishTransaction(false) ?

use isAutoFinishTransaction to check.

No.
As i said above

This is what i am calling.
Also if you remembered then same issue was there in Android also and you fixed.
Look here : IAP v2.4.0.3 price value problem

i use this sample to test, can’t reproduce.
my test step: run Test app->tap “Purchase”-> purchase query dialog->purchase success->tap “Purchase” -> purchase dialog -> purchase success.

you can replace sample config with your config, and try.

ok.
Can you please tell me where sdkbox plugin folder is located in mac?
In windows its located at C:\Users\user-name\.sdkbox

it’s here: /Users/user-name/.sdkbox