How can we do In-App Purchase with in-game currency?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wamiqurrehman


I want to ask that if I purchase in game currency like 20 in game coins from google play IAP how do I use these to do other google play IAP like buying a character’s shirt for 5 in game coins.

I know I can say consumePurchase(purchase.purchase_token) to consume coins but how do I use these for another purchase before consuming them?

Thank you!