简体   繁体   中英

In-App purchase for Android on consuming product

I use following tutorial to add in app billing for android Google In App Billing Tutorial

and am successful in adding it.It works well for one SKU.But when i add second SKU purchase takes place but, while i consume purchase the required value doesn't adds.ie for eg i have in-app for 2 consumable products say 100 coins and 500 coins.i purchased 100 coins and consumed it works well,but after i purchase 500 coins and consume only 100 coins get consumed.i can't get second SKU value.Can any one help me on adding multiple SKU following above tutorial link?I am trying this for weeks.Hope some one will help me.

use this demo because google in app v3 demo has a some bug in Security.java class

https://github.com/blundell/SimpleInAppPurchaseV3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM