Download the PHP package geniuspay/laravel-sdk without Composer
On this page you can find all versions of the php package geniuspay/laravel-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download geniuspay/laravel-sdk
More information about geniuspay/laravel-sdk
Files in geniuspay/laravel-sdk
Download geniuspay/laravel-sdk
More information about geniuspay/laravel-sdk
Files in geniuspay/laravel-sdk
Vendor geniuspay
Package laravel-sdk
Short Description Laravel SDK pour l'intégration des paiements GeniusPay (Wave, Orange Money, MTN Money, Carte)
License MIT
Homepage https://github.com/geniuspay/laravel-geniuspay
Package laravel-sdk
Short Description Laravel SDK pour l'intégration des paiements GeniusPay (Wave, Orange Money, MTN Money, Carte)
License MIT
Homepage https://github.com/geniuspay/laravel-geniuspay
Please rate this library. Is it a good library?
Informations about the package laravel-sdk
Laravel GeniusPay
SDK Laravel officiel pour l'intégration des paiements GeniusPay (Wave, Orange Money, MTN Money, Carte bancaire).
🚀 Installation
Installation automatique
Installation manuelle
⚙️ Configuration
Ajoutez ces variables dans votre fichier .env :
Options de configuration
| Variable | Description | Défaut |
|---|---|---|
GENIUSPAY_SANDBOX |
Mode sandbox | true |
GENIUSPAY_API_KEY |
Clé API publique | - |
GENIUSPAY_API_SECRET |
Clé API secrète | - |
GENIUSPAY_WEBHOOK_SECRET |
Secret webhook | - |
GENIUSPAY_DEBUG |
Mode debug | false |
GENIUSPAY_CURRENCY |
Devise par défaut | XOF |
📖 Utilisation
Avec la Facade
Avec l'injection de dépendances
Récupérer un paiement
Lister les paiements
Vérifier le solde
🔔 Webhooks
Le package gère automatiquement les webhooks. Configurez l'URL dans votre dashboard GeniusPay :
Écouter les événements
Créer un listener
Événements disponibles
| Événement | Description |
|---|---|
WebhookReceived |
Webhook reçu (tous types) |
PaymentCompleted |
Paiement réussi |
PaymentFailed |
Paiement échoué |
PaymentCancelled |
Paiement annulé |
PaymentPending |
Paiement en attente |
RefundCompleted |
Remboursement effectué |
🔗 Trait HasGeniusPayPayments
Ajoutez facilement les paiements à vos modèles :
🧪 Tests
Mode sandbox
En mode sandbox (GENIUSPAY_SANDBOX=true), aucune transaction réelle n'est effectuée.
Cartes de test
| Numéro | Résultat |
|---|---|
| 4084 0841 1111 1111 | Succès |
| 4084 0841 2222 2222 | Échec |
Test de connexion
🛠️ Commandes Artisan
⚠️ Gestion des erreurs
📚 Ressources
- Documentation API
- Dashboard GeniusPay
- Support
📄 Licence
MIT License. Voir LICENSE.
All versions of laravel-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.0
The package geniuspay/laravel-sdk contains the following files
Loading the files please wait ...