Maleeha-Mahmood / marketbilling

Automatically exported from code.google.com/p/marketbilling
0 stars 0 forks source link

orderId missing in INAPP_PURCHASE_DATA JSON field (in V3) for Subscriptions (app published to alpha) #210

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. Publish app to alpha  
2. Publish subscription products for the app
3. Purchase a subscription using IabHelper from sample code

EXPECTED OUTPUT:
Google Wallet Merchant Order Number should be returned as the value of the 
orderId field of INAPP_PURCHASE_DATA JSON field (in V3) for Subscriptions

Referenced documentation:
http://developer.android.com/google/play/billing/billing_subscriptions.html

If it is a test order, fake order id should be returned

ACTUAL OUTPUT:
Purchase is successful but orderId field is completely missing from the JSON 
output

JSON output is of the format:

{"packageName":"<package name>","productId":"<product 
id>","purchaseTime":<purchase 
time>,"purchaseState":0,"purchaseToken":"<purchase token>","autoRenewing":true}

DEVICE:
Reproduced on Samsung S3

Original issue reported on code.google.com by agr....@gmail.com on 25 Apr 2015 at 3:56