Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 370
Gopinath Avatar asked Mar 16 '12 09:03

Gopinath


People also ask

How do I limit in-app purchases on Google Play?

Update: In the new Google Play store, go to Settings -> the User Controls submenu and tap on the checkbox next to the field: "Password, Use password to restrict purchases." 4. With the password entered twice, go down to the Allowed Content option, and put the In-App Purchases slider in the Off position.


1 Answers

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

Android in-app multiple purchases

like image 86
ricvieira Avatar answered Nov 15 '22 05:11

ricvieira