raziul/sslcommerz-laravel
Integrate SSLCommerz payments in Laravel 10+ with a clean API: initiate payments, configure success/fail/cancel/IPN callbacks, validate transactions, verify response hashes, and process refunds. Supports sandbox and live environments.
Pros:
Sslcommerz), reducing boilerplate..env) simplifies testing and production deployment.Cons:
ipn endpoint could result in undetected payment failures. Test thoroughly with sandbox transactions..env and deployment pipelines?Sslcommerz::...) for payment operations.Route::post('sslcommerz/ipn', ...))..env and config/ system for environment-specific settings.orders).composer require raziul/sslcommerz-laravel.php artisan sslcommerz:install..env with SSLCommerz credentials and route names.Sslcommerz::makePayment()..env, and set up sandbox..env and config/sslcommerz.php reduce drift across environments.logs/sslcommerz.log (if enabled)..env match SSLCommerz’s configured webhook endpoints.// Example: Async IPN processing
Route::post('sslcommerz/ipn', function (Request $request) {
ProcessIpnJob::dispatch($request->all());
return response()->json(['status' => 'queued']);
});
transaction_id).throttle:60 in Laravel routes).How can I help you explore Laravel packages today?