How to request a purchase of multiple items on the Google Play billing feature

I am working on a project where we sell various virtual goods. I want to show these virtual goods and let him buy several items at once. But Google billing in the application only accepts one element at a time, according to what I understand.

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

How can I call api billing in the application and pass several element identifiers at once? It is allowed?

+6
source share
1 answer

This is currently not possible, only individual purchases per item, check this answer for a workaround:

Lots of Android in-app purchases

+3
source

Source: https://habr.com/ru/post/910890/


All Articles