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 1mo ago

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

17

—

LowBetter than 6% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity18

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://www.gravatar.com/avatar/222eebd6e309c5b7567f4338a106c3c0375eb91252d4596a2de835c88635cf66?d=identicon)[courage](/maintainers/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

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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