Version 1.1

SSLCommerz Payments + Tutor LMS

Seamlessly integrate SSLCommerz, Bangladesh's leading payment gateway, with Tutor LMS. Enable students to purchase courses using cards, mobile banking, and internet banking.

7+
Currencies
100%
Secure
Free
Open Source
GPLv2
License
Course Purchase
Secure checkout
Live
Cards
bKash
Nagad
Banking
Payment Successful
৳1,600
Features

Everything You Need for Bangladeshi Payment Channels

Powerful features designed specifically for Tutor LMS course sales

Tutor Free & Pro Compatible

TS Pay works seamlessly with both Tutor LMS Free and Pro versions, giving you flexibility to choose your preferred edition.

One-Time Payments

Enable seamless one-time course purchases using SSLCommerz and automatic course access upon successful payment.

Multi-Currency Support

Accept payments in BDT, USD, EUR, GBP, SGD, INR, and MYR with automatic currency conversion to BDT at current exchange rates.

Secure By Default

Solid security with hash verification, transaction validation, and comprehensive input sanitization to prevent XSS attacks.

IPN Integration

Instant Payment Notification automatically updates order status and grants course access upon successful payment verification.

Sandbox & Live Modes

Test thoroughly in sandbox environment before going live. Switch between modes with a single setting in Tutor LMS.

All Payment Methods

Support for credit/debit cards, mobile banking (bKash, Nagad, Rocket), and internet banking options available in Bangladesh.

i18n Ready

Full internationalization support with translation-ready strings. Text domain: tspay

WordPress HTTP API

Uses WordPress native HTTP API instead of cURL for better compatibility and secure external communications.

Amount Verification

Ensures paid amount matches order amount to prevent tampering and fraudulent transactions.

Payment Flow

How Payments Work

Understanding the complete transaction lifecycle

Student Clicks "Purchase"

Student selects a course and initiates the checkout process from your Tutor LMS site.

Your Site Connects with SSLCommerz

Behind the scenes, your site securely communicates with SSLCommerz to initiate the payment process.

Student Enters Payment Details

The student is taken to a secure SSLCommerz payment gateway where they choose their preferred payment method and complete the transaction.

Student Completes Payment

Student selects preferred payment method and completes the payment on SSLCommerz's secure page.

Payment Result Confirmed

SSLCommerz instantly notifies your site about the payment result—whether it succeeded, failed, or was cancelled.

Security Check

Our plugin verifies the payment through a secure validation process, ensuring everything is legitimate and safe.

Order Status Updated

Order status is updated to Success, Failed, or Cancelled based on payment verification result.

Course Access Granted

Student automatically gets access to the purchased course upon successful payment.

Global Reach

Supported Currencies

Accept payments from students worldwide with automatic BDT conversion

Primary 🇧🇩
BDT
Bangladeshi Taka
🇺🇸
USD
US Dollar
🇪🇺
EUR
Euro
🇬🇧
GBP
British Pound
🇸🇬
SGD
Singapore Dollar
🇮🇳
INR
Indian Rupee
🇲🇾
MYR
Malaysian Ringgit

Non-BDT currencies are automatically converted to BDT at current exchange rates by SSLCommerz.

Setup Guide

Installation & Configuration

Get started in minutes with our comprehensive setup guide

Minimum Requirements
WordPress
5.3 or higher
PHP
7.4 or higher
Tutor LMS
Free version
SSLCommerz
Merchant Account

Plugin Installation

01

Download & Upload

Download the plugin and upload it to /wp-content/plugins/

02

Activate Plugin

Go to WordPress admin → Plugins and activate TS Pay

03

Ensure Tutor LMS Active

Make sure Tutor LMS is installed and activated

04

Configure Settings

Navigate to Tutor LMS → Settings → Payments

SSLCommerz Configuration

01

Get Credentials

Sandbox: Register at developer.sslcommerz.com Live: Apply at sslcommerz.com

02

Enter Store Details

Configure Environment, Store ID, and Store Password in Tutor LMS payment settings

03

Copy IPN URL

Copy the IPN URL displayed in plugin settings

04

Configure IPN in SSLCommerz

Login to SSLCommerz merchant panel and add the IPN URL in IPN Settings

Configuration Screenshots

Tutor LMS Settings
SSLCommerz Configuration in Tutor LMS
SSLCommerz Merchant Panel
SSLCommerz IPN Configuration
Testing

Test Before Going Live

Use sandbox environment to thoroughly test your integration

Test Card Details
Test Card
4111 1111 1111 1111
Any future expiry date Any CVV

Sandbox credentials won't work in Live mode. Always use the correct environment credentials.

Test Transaction Flow
1
Set environment to "Sandbox"
2
Create a test course with a price
3
Add course to cart and checkout
4
Select SSLCommerz as payment method
5
Complete payment on SSLCommerz page
6
Verify order status in Tutor LMS
Security First

Professional-Grade Security

Your transactions are protected with multiple layers of security verification

  • Hash Verification

    Validates SSLCommerz callback signatures to ensure authenticity

  • Transaction Validation

    Double-checks payment status with SSLCommerz API

  • Amount Verification

    Ensures paid amount matches order amount to prevent tampering

  • SSL Communication

    All API calls use HTTPS for encrypted data transfer

  • Input Sanitization

    Comprehensive XSS attack prevention with proper data validation

Help

Troubleshooting Guide

Solutions to common issues you might encounter

Payment Not Processing

Your payments are failing or not going through to SSLCommerz

1 Check Store ID and Password

Verify that your SSLCommerz Store ID and Password are entered correctly in Tutor LMS settings. Even a single character difference will cause payment failures.

2 Ensure Environment Matches

Your plugin environment (Sandbox or Live) must match your credentials. Using sandbox credentials in live mode or vice versa will cause authentication failures.

3 Verify IPN URL Configuration

Ensure your Instant Payment Notification (IPN) URL is correctly configured in SSLCommerz merchant panel. Without this, payments won't be verified.

4 Check SSL Certificate

Ensure your website has a valid SSL certificate (HTTPS). SSLCommerz requires secure connections for all communication.

Updates

Changelog

Track all the improvements and fixes

Version 1.1.0 Latest December 25, 2025
  • Renamed Plugin renamed to TSPay (Tutor SSLCommerz Pay) to comply with WordPress trademark guidelines
  • Improved Code cleanup and optimization
Version 1.0.7 October 28, 2025
  • Security Added comprehensive input sanitization to prevent XSS attacks
  • Security Implemented proper data validation for all user inputs
  • Security Enhanced hash verification with sanitized inputs
  • Improved Enhanced error handling and logging
  • Improved Code organization and structure improvements
Version 1.0.6
  • Feature Added complete internationalization (i18n) support
  • Improved Updated plugin constants and code structure
  • Improved Enhanced documentation with translation information
Version 1.0.3
  • Improved Replaced cURL with WordPress HTTP API for better compatibility
  • Improved Enhanced error handling and JSON validation
Version 1.0.0
  • Initial One-time payment support, Sandbox and Live environments
  • Initial IPN integration, Multi-currency support, Transaction validation
FAQ

Frequently Asked Questions

Find answers to common questions about TS Pay

Ready to Start Accepting Payments?

Download TS Pay today and enable secure course payments on your Tutor LMS site. Free, open-source, and GPL licensed.