Gopinath
Gopinath

Reputation: 13051

How to make multiple items purchase request to Google Play in-app billing feature

I am working on a project where we sell variety of virtual goods. I want to show these virtual goods and let him buy multiple items at once. But the Google's in-app billing takes only one item at a time, accoring to what I understand.

Bundle request = makeRequestBundle("REQUEST_PURCHASE");
request.putString(Consts.BILLING_REQUEST_ITEM_ID, mProductId);

How do I call the in-app billing api and pass multiple item ids at once? Is that allowed?

Upvotes: 6

Views: 5042

Answers (1)

ricvieira
ricvieira

Reputation: 1051

That's not possible at the moment, only separate purchases per item, check out this answer for a workaround:

Android in-app multiple purchases

Upvotes: 3

Related Questions