Why Our In-App Product IDs Never Contain Prices

Why Our In-App Product IDs Never Contain Prices

When we started porting our Roku games to Fire TV, we had to set up their in-app products again on the Amazon Appstore. That was a good moment to look at the product setup we had been carrying around for years. Some of it didn't age well.

This post is about the rules we use now, and why.

The problem with prices in IDs

Some of our old Roku product IDs had the price built in. A level pack's ID ended in its price, like "levels pack 1, 0.99", and other codes ended in 1.99 or 0.99.

That seems handy until the price changes. Prices are set in the store console and can change any time. But store product IDs (SKUs) can't be renamed or deleted once they exist. So you end up with an ID that says 0.99 for a product that costs something else, forever. Anyone who reads code, reports or analytics later gets the wrong idea.

Rule: a SKU never contains a price. It names what the product is, nothing more.

One Premium product

Over time, some apps also collected more than one "buy everything" product: an "all packs" one, a "total" one, and a Premium one next to them. For players that's confusing, and for us it's more products to set up, test and keep in sync across stores.

Rule: one buy-all product per app, called Premium. Not several bundles that mean almost the same thing.

On Fire TV, a few apps already follow the new setup:

  • Color Book has nine picture packs at $0.99 each (Halloween, animals, cartoons, numbers, Christmas, girls, boys, shapes and vehicles), plus a Premium product at $6.99. That's ten products, and Amazon approved all of them on November 29.
  • Rolling Maze has one levels pack at $0.99. Levels 1 to 10 are free and levels 11 to 51 are locked, exactly as on Roku.
  • Would You Rather has three question packs at about $1.99 and Premium at $4.99. The Classic pack is free, and the old "all packs" product was dropped.

Not every app is there yet. A couple of the party games still use the older bundle setup, and we'll align them later. Our simpler apps, such as the metronome, the coin flip, the zodiac app and the number game, have no in-app products at all.

No offer until we know what the player owns

A buy offer at the wrong moment is worse than no offer. If someone already bought Premium and the game greets them with "Unlock everything!", it looks broken, and it is.

The store tells us what the player owns, but not instantly. So:

  • No buy offer until the purchase state is known. We wait for the store to report the player's purchases first.
  • Skip the offer if the pack or Premium is already owned.

One of our games used to show its Premium offer a little too early, before the purchase state arrived. We fixed it so the offer waits until the game knows what the player owns.

No placeholder prices

The same applies to price labels. The real, local price comes from the store, again not instantly. During that gap it's tempting to show something, anything.

We don't. Price labels stay empty until the store returns a real price. No "err", no "price", no made-up default. An empty label for a moment is fine. A wrong or broken one makes the product look fake.

Screenshots with real prices

Store screenshots of purchase screens should show real prices too. We take them on a test build using Amazon's App Tester, which returns proper prices without charging anyone. Those test builds are only for this and are never uploaded to the store.

Purchase rules match Roku

The purchase dialog itself is each store's own. The rules around it, meaning what's free, what's locked and what unlocks what, match the Roku original. A player who knows the game on Roku should find the same deal on Fire TV.

Takeaway

  • Never put prices in product IDs. Prices change and IDs can't.
  • One Premium product per app, not several overlapping bundles.
  • Wait for the purchase state before showing any offer, and skip offers for things already owned.
  • No placeholder prices. Empty until real.
  • Take price screenshots from a test build, and never ship that build.
  • Keep the purchase rules the same across platforms.
Go To All Articles