There are many examples of applications that are free but let you add features with in-app payments. Think of a game that is free to play, but offers additional levels or virtual goods for a certain price (a low one in most cases). It’s very common to see applications that are free at the ‘trial period’ and later gives premium users the option to buy a specific level that match their needs. It’s a good practice to give users your product or service without any barriers (e.g credit card information). If they find it useful, they will pay for it with a smile.
- A designing web app that give the options to buy more projects (or more shapes, tools, features).
- A Customer Relationship Management (CRM) application, that offer certain capabilities for a price.
The basic options to collect and manage your contacts will be free, but if you wish to send emails they will charge you.
- A game that let you advances more quickly if you buy certain improvements. For example a ‘magic’ power that give you the ability to pass a difficult stage (e.g. the mighty eagle in Angry Birds).
We choose to show an in-app payment example with Mozilla experiment payment API.
Psst… This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.
If you wish a more generic solution that will work on many modern web browsers, check out: how to implement web payments.
- Log in to the Firefox Marketplace Developer Hub.
- Upload an app, set it up as paid/in-app, and generate an application key and an application secret.
- From your app, initiate a payment by signing a JWT request with your secret and calling navigator.mozPay(…)
- This starts a payment flow in a special window
- The buyer logs in with Mozilla Persona (if not logged in.)
- The buyer enters their PIN.
- The buyer charges the purchase to her phone bill or credit card
- Your app server receives a signed POST request with a Mozilla transaction ID indicating that the purchase was completed successfully
- You receive money directly deposited to your bank account.
For a list of the best practices for eCommerce, check this post at the bottom.
#monetization on the web rock.