PHPackages                             durrbar/payment-sslcommerz-driver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. durrbar/payment-sslcommerz-driver

ActiveLibrary[Payment Processing](/categories/payments)

durrbar/payment-sslcommerz-driver
=================================

A Laravel package to integrate the sslcommerz Payment Gateway with the durrbar/payment-module.

00PHP

Since Apr 2Pushed 1mo agoCompare

[ Source](https://github.com/durrbar/payment-sslcommerz-driver)[ Packagist](https://packagist.org/packages/durrbar/payment-sslcommerz-driver)[ RSS](/packages/durrbar-payment-sslcommerz-driver/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

---

**Sslcommerz Payment Driver for Laravel**
=========================================

[](#sslcommerz-payment-driver-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4fc4cfe65f0d74868ee20b7afdc55f5cb852b2e3ee4da8da60ce226bb387e5c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f647572726261722f7061796d656e742d73736c636f6d6d65727a2d6472697665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/durrbar/payment-sslcommerz-driver)[![Total Downloads](https://camo.githubusercontent.com/349917fbb896676b82d131c9bebae623937532c41e097d6e028852114cc70c7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647572726261722f7061796d656e742d73736c636f6d6d65727a2d6472697665722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/durrbar/payment-sslcommerz-driver)

A Laravel package to integrate the **Sslcommerz Payment Gateway** seamlessly into your application. This package supports tokenized payments, refunds, transaction verification, and handling callbacks (IPN, success, failure, cancel). It is designed to work with the `durrbar/payment-module` for shared payment driver functionality.

---

**Features**
------------

[](#features)

- **Tokenized Payments**: Supports secure tokenized payment flows.
- **Refunds**: Initiate and check the status of refunds.
- **Transaction Verification**: Verify payment transactions using transaction IDs.
- **Callback Handling**: Handle IPN, success, failure, and cancellation callbacks.
- **Sandbox Support**: Easily switch between sandbox and live environments for testing.
- **Queue Integration**: Automatically retry refund status checks using queued jobs.

---

**Requirements**
----------------

[](#requirements)

- PHP &gt;= 8.0
- Laravel &gt;= 9.0
- `durrbar/payment-module` (for shared payment driver functionality)

---

**Installation**
----------------

[](#installation)

Install the package via Composer:

```
composer require durrbar/payment-sslcommerz-driver
```

---

**Configuration**
-----------------

[](#configuration)

Add the following variables to your `.env` file:

```
SSLCOMMERZ_SANDBOX=true // set false when using live store id
SSLCOMMERZ_STORE_ID=your_store_id
SSLCOMMERZ_STORE_PASSWORD=your_store_password
```

The configuration will automatically load from `payment.providers.sslcommerz` in your Laravel application.

---

**Usage**
---------

[](#usage)

This package is designed to work seamlessly with the `PaymentService` from the `durrbar/payment-module`. All payment-related operations are handled automatically by the `PaymentService`. Simply configure the package and specify `sslcommerz` as the provider when interacting with the `PaymentService`.

### **How It Works**

[](#how-it-works)

1. Install the package and configure the `.env` file with your Sslcommerz credentials.
2. The `PaymentService` dynamically resolves this package as the driver for Sslcommerz payments.
3. All payment-related operations (initiating payments, handling callbacks, refunds, etc.) are handled automatically by the `PaymentService`.

No additional setup or manual integration is required beyond installing the package and adding the configuration.

---

### **Supported Operations**

[](#supported-operations)

The following operations are supported and handled automatically by the `PaymentService`:

- **Initiating a Payment**: Payments are initiated using the Sslcommerz API.
- **Handling Callbacks**: IPN, success, failure, and cancellation callbacks are processed automatically.
- **Verifying a Payment**: Payment transactions are verified using transaction IDs.
- **Refunding a Payment**: Refunds can be initiated and their status checked automatically.
- **Checking Refund Status**: The `PaymentService` checks the status of refunds using queued jobs.

---

**Testing**
-----------

[](#testing)

To test the package in sandbox mode, set `SSLCOMMERZ_SANDBOX=true` in your `.env` file. Use the sandbox credentials provided by Sslcommerz.

---

**Contributing**
----------------

[](#contributing)

Contributions are welcome! Please follow these steps:

1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Submit a pull request with a detailed description of your changes.

---

**Security**
------------

[](#security)

If you discover any security-related issues, please email the maintainer instead of using the issue tracker.

---

**Credits**
-----------

[](#credits)

- [Your Name](https://github.com/officialkidmax)
- Inspired by [Sslcommerz API Documentation](https://developer.sslcommerz.com/doc/v4/)

---

**License**
-----------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

---

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance64

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fca7d72786eb232713f9a625180abcaf528d6c6d3c03ed8df3f9acc333121e5?d=identicon)[officialkidmax](/maintainers/officialkidmax)

---

Top Contributors

[![officialkidmax](https://avatars.githubusercontent.com/u/41998473?v=4)](https://github.com/officialkidmax "officialkidmax (13 commits)")

### Embed Badge

![Health badge](/badges/durrbar-payment-sslcommerz-driver/health.svg)

```
[![Health](https://phpackages.com/badges/durrbar-payment-sslcommerz-driver/health.svg)](https://phpackages.com/packages/durrbar-payment-sslcommerz-driver)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
