In-app purchases

The Android developer blog has just unwrapped a nice little present for developers -- Version 3 of in-app purchasing. This is mostly back-end stuff that us civilians might not notice, but that doesn't make them any less important. Here's what's new:

  • Streamlined code. Google says what used to take several hundred lines of code can be done in as few as 50 now. 
  • A more robust architecture.
  • Local caching, so API calls happen faster. That means part of the legwork is being done on your phone, without the need to call into Google Play.
  • And "the ability to consume managed purchases and query for product information."

OK, so that's all good for us, the user, too. Google says Version 3 will work on Android 2.2 and up, which means 90 percent of active devices should be good to go.

Source: Android Developers blog

 
There are 13 comments

Ok

crxssi says:

None of this is OK. I consider in-app purchases to be a total ripoff. From my understanding of them, they do not reflect on all your devices, and do not fall into the "trial 15 minute refund" rule.

DNicolasL says:

My in app purchase to remove ads from Words with Friends transferred across my devices.

crxssi says:

Maybe it depends on the app? I am getting different reports from different places.

mwara244 says:

What also sucks about IAP's is that if you uninstall an app with an IAP, like a game, it erases the fact that you bought the IAP. This means you get ripped off of the initial purchase of an IAP and will have to purchase again after a re installation of an app. Devs need some way to fix this, which I doubt they will unless Google makes them.

Animus_3.0 says:

You would think 2.2+ would comprise 99% or more at this point. Smh.

BrandonST says:

When will they allow us to block or put a passcode on in-app purchases?

smokin221 says:

You already can put a pass or pin on purchases otherwise my kid would never get to play on my phones

BrandonST says:

I have a pin on regular, but I guess I never tested it on in-app purchases since my kid racked up a $20 charge on me. Will give it a go.

etnpnys says:

Soooo... I have a Nexus 7 that I like to casually play games on. I also have a phone that I carry with me everywhere. I purchased some in-app things from Angry Birds Star Wars on the N7 and I cannot for the life of me figure out how to get those in-app purchases onto my phone for when I'm waiting in line somewhere.

Is this even possible?

kenyee says:

They have to be on the same google account and you have to have data access when you first start the game (it has to contact google's servers to verify the purchase, then it caches the token for a while). If you don't have data on your phone, that'd explain it.

Glad Google simplified this code...makes our lives easier as developers :-)

etnpnys says:

They are on the same account and I have data access everywhere... Hmmm... I'll Titanium Backup and reinstall on the phone and see if that brings it over.

I wonder if Angry Bird Star Wars have a "restore purchase" option. Maybe you can check it in the option menu or look at the DLC section.

Some game app came with the "Restore Purchase" option like Plague Inc. Because I reset my SGN2 recently and once I clicked restore purchase, all the in-app purchase that I brought came back. It only take a few moment for it to get it back. If you can't find it, email the Dev and ask them about it.

all app that have in-app purchase should have "Restore Purcahse" option.