[android-developers] Re: Test in-app subscription using test account

2012-09-04 Thread Oleg Pravdin
Yes, you need to modify Security.java and parse "purchaseToken" field from JSON. Once done, make sure the field is encapsulated in VerifiedPurchase and passed on to ResponseHandler to let your persistence capture the field ResponseHandler.purchaseResponse(this, vp.purchaseToken, vp.purchaseState,

[android-developers] Re: Test in-app subscription using test account

2012-09-05 Thread Tarun Sharma
Hi, Hi, Please help me out ... I had successfully implemented InApp billing with managed products. Now upgrade that with subscription (IAB V2). I had done all changes that required for subscription as mention in below link. http://developer.android.com/guide/google/play/billing/billing_subscr

[android-developers] Re: Test in-app subscription using test account

2012-09-05 Thread Tarun Sharma
Thanks For response.I have tried I have modified security.java and parse "purchaseToken" field from JSON. and also encapsulated in "purchaseToken" VerifiedPurchase. so i modified Security.java, BillingServices.java, ResponseHandler.java and PurchaseDatabase accordingly. What is the role of purcha

[android-developers] Re: Test in-app subscription using test account

2012-09-05 Thread Tarun Sharma
Thanks I have tried this one but unable to check and also I have some confusion, Can you please guide/suggest me. I have modified security.java and parse "purchaseToken" field from JSON. and also encapsulated in "purchaseToken" VerifiedPurchase. so i modified Security.java, BillingServices.java,

[android-developers] Re: Test in-app subscription using test account

2012-11-05 Thread ankit the OPIUM
Hi Tarun. I am not sure about PurchaseToken but google play will keep your purchase in record and after billing cycle(monthly/yearly) it will charge user again. If it fails it will inform tour app in onPurchaseStateChange() callback. It will give you response code as expired. On Thursday, 6