Skip to content

Sell Composer packages with Mobile Money

Your buyers pay from their phone, in XAF or XOF, and install your package with a license key. This guide covers what you need, the four steps to publish and what the buyer sees.

Why Mobile Money

In the XAF and XOF zones, a Mobile Money wallet is the payment method a developer already has. The buyer picks a country and an operator, types a phone number and approves the payment on the handset. No card is involved.

A card-only checkout loses those buyers. Pakua shows Mobile Money and card side by side on the same checkout.

What you need

  • A Composer package in a GitHub repository, with tagged releases.
  • A Pakua account. The Free plan has no monthly fee.
  • A Wajub account, connected in your settings. Mobile Money opens on your checkout once you have accepted the Wajub rate.

A Stripe account is optional. When you connect one, card payments go through it. Without one, cards go through Wajub too.

Publish in four steps

  1. 01

    Create your organization

    It carries your seller name and the address of your private Composer registry.

  2. 02

    Import a GitHub repository

    Pakua reads the tags of the repository. Each tag becomes a version your buyers can install.

  3. 03

    Add a plan and a price

    Name the plan, set the amount and pick one of 18 currencies. A product can carry several plans.

  4. 04

    Publish

    The product page and its checkout go live. Each paid order sends a license key to the buyer by email.

For Mobile Money, set the price of the plan in XAF or XOF. One payment can go up to 500,000 XAF.

What the buyer does

After the payment is approved on the phone, the license key arrives by email. Three commands install the package:

  1. 01

    Add the repository

    Composer learns where the package lives. The repository is written to composer.json.

    composer config repositories.your-vendor composer https://pakua.dev/your-vendor 
  2. 02

    Sign in with the license key

    The key is saved in auth.json, next to composer.json. That file stays out of git.

    composer config --auth http-basic.pakua.dev license YOUR-LICENSE-KEY
  3. 03

    Require the package

    Composer downloads the package and adds it to the dependencies.

    composer require your-vendor/your-package 

What it costs

Pakua takes a commission on each paid order: 10% on Free, 5% on Growth and 3% on Scale. No sale, no commission. The payment lands in your Wajub account at the time of the sale, and Wajub charges its own processing fee.

Plans and a worked example are on the pricing page.

More guides

Publish your first package today

The Free plan has no monthly fee: 10% per sale, up to 3 products. Your buyers pay by Mobile Money or card.