Item Already Own Error on Google Play

I am using Codeless IAP and is setup as mentioned in the documentation. Purchases are working perfectly fine and everything. But when the purchases are failed for instance if I’m buying in game coins, which is consumable, and quitting the game in the middle of the purchase, the next time I buy the same product, it will give me the “Error Item already owned” from playstore. I’m using 4.12.2 IAP package. Should I change to Scripted IAP or is it solvable with Codeless?

Finally fixed it. In my case Codeless was Initialized at the first scene which was loading and there wasnt any IAP Listener on it. All the IAP code was in the menu scene which lead the initialization process return an error because of the absence of IAP Listener