TS Pay integrates SSLCommerz, Bangladesh's leading payment gateway, with Tutor LMS to enable seamless course purchases. Accept payments from local and international customers using cards, mobile banking, and internet banking.
Features
- One-time payments for course purchases
- Multi-currency support (BDT, USD, EUR, GBP, SGD, INR, MYR)
- Sandbox and Live environments for testing and production
- IPN (Instant Payment Notification) integration for automatic order updates
- Secure payment processing with hash validation and transaction verification
- All SSLCommerz payment methods (Cards, Mobile Banking, Internet Banking)
- WordPress HTTP API for secure external communications
- Comprehensive error handling and logging
Requirements
- WordPress 5.3 or higher
- PHP 7.4 or higher
- Tutor LMS (Free version)
- SSLCommerz merchant account
How It Works
- Student initiates course purchase
- Plugin sends payment request to SSLCommerz
- Student completes payment on SSLCommerz secure page
- SSLCommerz sends IPN notification to your site
- Plugin validates transaction and updates order status
- Student gains course access upon successful payment
Security Features
- Hash verification for callback signatures
- Transaction validation through SSLCommerz API
- Amount verification to prevent tampering
- SSL-secured API communications
1.1.0
- Renamed: Plugin has been renamed to TSPay (Tutor SSLCommerz Pay) due to WordPress guidelines on trademark usage
- Improvement: Code cleanup and optimization
1.0.7
- 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
- Improvement: Enhanced error handling and logging
- Improvement: Code organization and structure improvements
1.0.6
- Feature: Added complete internationalization (i18n) support
- Feature: Created translation template (.pot file)
- Improvement: Added languages directory for translation files
- Improvement: Updated plugin constants and code structure
- Improvement: Enhanced documentation with translation information
1.0.5
Minor Fixes
1.0.4
Minor Fixes
1.0.3
- Improvement: Replaced cURL with WordPress HTTP API for better compatibility
- Improvement: Enhanced error handling and JSON validation
- Improvement: More descriptive error messages
1.0.2
- Security: Fixed fatal errors in IPN handling
- Security: Improved validation for webhook requests
- Improved: Better error logging and debugging
1.0.1
- Fixed: Corrected payment amount sending (was sending 0)
- Fixed: Updated to use correct Tutor LMS field names
- Improved: Added payment amount validation
1.0.0
- Initial release
- One-time payment support
- Sandbox and Live environments
- IPN integration
- Multi-currency support
- Transaction validation