PHPackages                             courage/orangemoneyussd - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. courage/orangemoneyussd

ActiveLibrary[Payment Processing](/categories/payments)

courage/orangemoneyussd
=======================

A Laravel package for USSD ORANGE MONEY payment API

18PHP

Since Dec 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Mahwou/OrangeMoney)[ Packagist](https://packagist.org/packages/courage/orangemoneyussd)[ RSS](/packages/courage-orangemoneyussd/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

OrangeMoney
===========

[](#orangemoney)

A Laravel Package for ORANGE MONEY USSD payment api
---------------------------------------------------

[](#a-laravel-package-for-orange-money-ussd-payment-api)

### INSTALLATION

[](#installation)

- Use following command to install:

```
 composer require courage/orangemoneyussd

```

- Run the following command to publish configuration:

```
php artisan vendor:publish --provider "Courage\OrangeMoney\Provider\UssdOrangeMoneyServiceProvider"

```

### CONFIGURATION

[](#configuration)

- After installation, you will need to add your orange money settings. As shown bellow you will find in config/orange\_money\_ussd.php the various parameters, which you should update accordingly.

```
return [

    /*
    |--------------------------------------------------------------------------
    | Default ORANGE MONEY CREDENTIALS
    |--------------------------------------------------------------------------
    |
    | Here you will need to fill your orange money credential to be abel to
    | start with any process of the payment.
    |
    */

    "OM_USERNAME" => env("OM_USERNAME", ""),

    "OM_PASSWORD" => env("OM_PASSWORD", ""),

    "OM_PIN" => env("OM_PIN", ""),

    "OM_CHANNEL_USER_MSISDN" => env("OM_CHANNEL_USER_MSISDN", ""),

    "OM_X_AUTH_TOKEN" => env("OM_X_AUTH_TOKEN", ""),

    "OM_NOTIF_URL" => env("OM_NOTIF_URL", "https://www.ynote.cm/notification"),
];
```

- Add this to .env.example and .env

```
OM_USERNAME=
OM_PASSWORD=
OM_PIN=
OM_CHANNEL_USER_MSISDN=
OM_X_AUTH_TOKEN=
OM_NOTIF_URL=
```

### Example usage

[](#example-usage)

#### Make a payment

[](#make-a-payment)

```
use Courage\OrangeMoney\Facade\UssdOrangeMoney;

$data = [
          "amount" => 1000,
          "subscriberMsisdn" => "22507070707",
          "orderId" => "123456",
          "notifUrl" => "https://example.com/notify"
        ];

$payment = new UssdOrangeMoney();
$response = $payment->pay($data);

$payToken = $response['pay_token']
```

#### Check transaction status

[](#check-transaction-status)

```
use Courage\OrangeMoney\Facade\UssdOrangeMoney;

$payment = new UssdOrangeMoney();
$response = $payment->checkTransactionStatus($payToken);
```

License
-------

[](#license)

The MIT License (MIT). Please see [License](https://github.com/Mahwou/OrangeMoney/blob/main/LICENSE) for more information.

Contributing
------------

[](#contributing)

Read [here](https://github.com/Mahwou/OrangeMoney/blob/main/CONTRIBUTING.md) for more information.

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/291042?v=4)[Michael Courage](/maintainers/courage)[@courage](https://github.com/courage)

---

Top Contributors

[![Mahwou](https://avatars.githubusercontent.com/u/43790392?v=4)](https://github.com/Mahwou "Mahwou (26 commits)")

### Embed Badge

![Health badge](/badges/courage-orangemoneyussd/health.svg)

```
[![Health](https://phpackages.com/badges/courage-orangemoneyussd/health.svg)](https://phpackages.com/packages/courage-orangemoneyussd)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)[binkode/laravel-paystack

A description for laravel-paystack.

112.1k](/packages/binkode-laravel-paystack)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
