Download the PHP package lamine-minato/orange-money-gateway without Composer
On this page you can find all versions of the php package lamine-minato/orange-money-gateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lamine-minato/orange-money-gateway
More information about lamine-minato/orange-money-gateway
Files in lamine-minato/orange-money-gateway
Package orange-money-gateway
Short Description A PHP package to manage payments via Orange Money in your PHP applications.
License MIT
Informations about the package orange-money-gateway
Orange Money Payment Gateway
A PHP package to manage payments via Orange Money in your PHP applications.
How it work ?
-
Use following command to install:
- Create an OrangeMoneyAction object:
Make sure to replace variable by the corrects one
- Call execute method on OrangeMoneyGateway class:
and Voila!
It will return a OrangeMoneyPaymentResponse object containing payToken and paymentUrl
In case of error, it will throw an exception of type OrangeMoneyException
You can also pass a configuration to the execute method of OrangeMoneyGateway if you want to modify the urls for retrieving the payment url
php $response = OrangeMoneyGateway::execute($action, $config);
### Handling Webhooks (Notifications)
When a payment is processed, Orange Money sends a notification to your `notifUrl`. You can use the `handleWebhook` method to process this notification.
> [!TIP]
> Pour une intégration plus détaillée dans Symfony (services, sécurité, etc.), consultez le [Guide d'intégration Symfony](docs/symfony_integration.md).
> [!TIP]
> Pour une intégration plus détaillée en PHP pur (autoload, script complet, etc.), consultez le [Guide d'intégration Pure PHP](docs/pure_php_integration.md).
## License
The MIT License (MIT). Please see [License](https://github.com/minato223/orange-money-gateway/blob/master/LICENSE) for more information.
## Contributing
Read [here](https://github.com/minato223/orange-money-gateway/blob/master/CONTRIBUTING.md) for more information.All versions of orange-money-gateway with dependencies
symfony/http-client Version ^7.0 || ^8.0
symfony/property-access Version ^7.0 || ^8.0