Reputation: 11
I wanted to acknowledge a subscription purchase made by user.
According to Google docs I have to send a subscriptionID, but according to purchases.subscriptionsv2.get it may return more than one line item, each line item contains its own subscriptionId (productId)
The question is, which subscriptionId should I use in "acknowledge" if a purchase has more than one line items with different subscriptionId?
From the Doc it's not clear what to do.
Upvotes: 1
Views: 391
Reputation: 1
I too have the same problem. I found the following description on the developer page, so I will paste it.
lineItems[0].productId: This field replaces subscriptionId from previous versions
link: https://developer.android.com/google/play/billing/compatibility
I hope you find it useful.
Upvotes: 0