Initiate Payments
Fluent chain for order, customer, shipping, callbacks, and gateway selection. Returns a typed response object.
A fluent API for initiating SSLCommerz payments, validating transactions, handling refunds, and verifying hashes - built for sandbox and live environments.
A focused API surface with clean data objects, covering the full payment lifecycle that production teams need.
Fluent chain for order, customer, shipping, callbacks, and gateway selection. Returns a typed response object.
Verify hash signatures and validate payment responses before marking orders as paid. Prevents tampering.
Initiate refunds and poll their status through dedicated response objects. Success, processing, and failure are explicit.
Install the package, publish configuration, set your SSLCommerz store credentials, and define callback routes.
# Install the package composer require hasinhayder/sslcommerz-laravel # Publish configuration php artisan sslcommerz-laravel:install
# Environment SSLC_SANDBOX=true SSLC_STORE_ID=your_store_id SSLC_STORE_PASSWORD=your_store_password SSLC_STORE_CURRENCY=BDT # Callback routes SSLC_ROUTE_SUCCESS=sslc.success SSLC_ROUTE_FAILURE=sslc.failure SSLC_ROUTE_CANCEL=sslc.cancel SSLC_ROUTE_IPN=sslc.ipn
A focused SSLCommerz integration for Laravel teams shipping in sandbox or live mode. Minimal footprint, maximum clarity.