I am using in-app purchase in my android app. Procedure is all done when i try to purchase it asks me to add a debit or credit card to purchase that item. I want to know that can I somehow purchase that item with test credit or debit card just to complete the buying procedure.
Secondly in which listener i should actually allow to access the purchased item to user?
1- OnIabPurchaseFinishedListener
2- QueryInventoryFinishedListener
3- OnConsumeFinishedListener
or
4- onActivityResult
I am new to in-app purchase. Please suggest the right way.