Framework ยท PHP
Symfony Beta
Symfony bundle with container wiring, callback route, console commands, and status-API confirmation.
| Version | 0.1.0 |
|---|---|
| Compatibility | Symfony 6.4 or 7. PHP 8.2+. Tested on Symfony 7. |
| Install | Composer path repository to integrations/symfony-ssentezo and integrations/php-sdk. Not on Packagist. |
| Source | integrations/symfony-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
- SsentezoClient and PaymentFlow services
- Callback route
- PaymentCheckedEvent
- ssentezo:check and ssentezo:confirm commands
- Sandbox and live safeguards
Install
- Add Composer path repositories for
integrations/php-sdkandintegrations/symfony-ssentezo, thencomposer require ssentezo/symfony-wallet:@dev. - Register
SsentezoBundle, addconfig/packages/ssentezo.yaml, and import@SsentezoBundle/config/routes.php. - Point
order_storeat yourOrderStoreservice and callPaymentFlow::start()from checkout.
Checkout
The callback controller uses the unsigned body only for the reference, then calls the status API. Your OrderStore is marked paid only for SUCCEEDED with the same reference, amount, and UGX.
Ssentezo Developers