Framework ยท PHP
Laravel Beta
Laravel package with a facade, callback route, Artisan commands, and status-API confirmation.
| Version | 0.1.0 |
|---|---|
| Compatibility | Laravel 10, 11, or 12. PHP 8.2+. Tested on Laravel 11. |
| Install | Composer path repository to integrations/laravel-ssentezo and integrations/php-sdk. Not on Packagist. |
| Source | integrations/laravel-ssentezo |
| License | MIT |
| Sandbox | Sandbox is the organization status on the wallet. In sandbox mode the package refuses the production host, requires sandbox_host_verified, and accepts only 256770000001 to 256770000004. Live mode requires allow_live_payments. |
Supported in this version
- Ssentezo facade for every route
- PaymentFlow bound in the container
- CSRF-free callback route
- PaymentChecked event
- ssentezo:check and ssentezo:confirm commands
- Sandbox and live safeguards
Install
- Add Composer path repositories for
integrations/php-sdkandintegrations/laravel-ssentezo, thencomposer require ssentezo/laravel-wallet:@dev. - Set
SSENTEZO_API_USER,SSENTEZO_API_KEY,SSENTEZO_BASE_URL, andSSENTEZO_ORDER_STORE. Runphp artisan ssentezo:check. - Implement
Ssentezo\Wallet\OrderStorefor your orders and callPaymentFlow::start()from checkout. - Schedule
php artisan ssentezo:confirmfor orders that stay pending.
Checkout
POST /ssentezo/callback uses the unsigned body only for the reference, then calls POST /api/get_status/{externalReference}. Your OrderStore is marked paid only for SUCCEEDED with the same reference, amount, and UGX.
Ssentezo Developers