Title: TS Pay
Author: HasinHayder
Published: <strong>2025 年 12 月 25 日</strong>
Last modified: 2025 年 12 月 25 日

---

搜尋外掛

![](https://ps.w.org/tspay/assets/banner-772x250.png?rev=3428077)

![](https://ps.w.org/tspay/assets/icon-256x256.png?rev=3427401)

# TS Pay

 由 [HasinHayder](https://profiles.wordpress.org/hasinhayder/) 開發

[下載](https://downloads.wordpress.org/plugin/tspay.1.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/tspay/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/tspay/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/tspay/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/tspay/#developers)

 [技術支援](https://wordpress.org/support/plugin/tspay/)

## 外掛說明

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.

Website: [https://hasinhayder.github.io/tutor-sslcommerz/](https://hasinhayder.github.io/tutor-sslcommerz/)

#### 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

 1. Student initiates course purchase
 2. Plugin sends payment request to SSLCommerz
 3. Student completes payment on SSLCommerz secure page
 4. SSLCommerz sends IPN notification to your site
 5. Plugin validates transaction and updates order status
 6. 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

### Support

Website: [https://hasinhayder.github.io/tutor-sslcommerz/](https://hasinhayder.github.io/tutor-sslcommerz/)

For plugin issues: [GitHub Issues](https://github.com/hasinhayder/tutor-sslcommerz/issues)
For SSLCommerz API: support@sslcommerz.com For Tutor LMS: [Tutor support](https://tutorlms.com/support/)

### Credits

Developed by Hasin Hayder
 Based on Tutor LMS Payment Gateway framework SSLCommerz
API integration

## 安裝方式

 1. Upload the plugin folder to `/wp-content/plugins`
 2. Activate the plugin through the WordPress admin
 3. Ensure Tutor LMS is installed and activated
 4. Go to **Tutor LMS > Settings > Payments**
 5. Enable SSLCommerz and configure settings

#### Configuration

**Step 1: Get SSLCommerz Credentials**

_Sandbox (Testing):_
 1. Register at https://developer.sslcommerz.com/registration/
2. Receive Store ID and Store Password via email

_Live (Production):_
 1. Apply for merchant account at https://sslcommerz.com/ 2.
Complete KYC verification 3. Get Store ID and Store Password from merchant panel

**Step 2: Configure Plugin**

 1. Go to **Tutor LMS > Settings > Payments**
 2. Find **SSLCommerz** in payment gateways
 3. Enable and configure:
 4.  * **Environment**: Sandbox for testing, Live for production
     * **Store ID**: Your SSLCommerz Store ID
     * **Store Password**: Your Store Password (not login password)
     * **IPN URL**: Copy this URL

**Step 3: Configure SSLCommerz Panel**

 1. Login to SSLCommerz merchant panel
 2. Go to IPN Settings
 3. Add the IPN URL from plugin settings
 4. Save settings

## 常見問題集

### Do I need a SSLCommerz account?

Yes, you need a merchant account. Sign up at https://sslcommerz.com/ for live or
https://developer.sslcommerz.com/registration/ for sandbox.

### Does this support subscriptions?

No, only one-time payments are supported. SSLCommerz doesn’t provide native recurring
payment functionality.

### Can I test before going live?

Yes, use Sandbox environment with test credentials. Test cards available in SSLCommerz
documentation.

### What currencies are supported?

BDT (primary), USD, EUR, GBP, SGD, INR, MYR. Non-BDT currencies are auto-converted
to BDT at current rates.

### How do I troubleshoot payment issues?

 1. Verify Store ID and Password are correct
 2. Ensure IPN URL is configured in SSLCommerz panel
 3. Check environment settings (Sandbox vs Live)
 4. Enable WordPress debug logging
 5. Verify SSL certificate on your site

### What payment methods are supported?

All SSLCommerz methods: Credit/Debit Cards, Mobile Banking (bKash, Nagad, Rocket),
Internet Banking, and others available in Bangladesh.

### Is there a transaction fee?

Transaction fees depend on your SSLCommerz merchant agreement. Contact SSLCommerz
for pricing details.

### Can I process refunds?

Refunds must be processed manually through the SSLCommerz merchant panel. The plugin
doesn’t handle automatic refunds.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈TS Pay〉的開發相關工作。

參與者

 *   [ HasinHayder ](https://profiles.wordpress.org/hasinhayder/)

[將〈TS Pay〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tspay)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/tspay/)、查看 
[SVN 存放庫](https://plugins.svn.wordpress.org/tspay/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/tspay/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/tspay/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **1.1.0**
 *  最後更新 **7 個月前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/tspay/)
 * 標籤:
 * [bKash](https://tw.wordpress.org/plugins/tags/bkash/)[payments](https://tw.wordpress.org/plugins/tags/payments/)
   [sslcommerz](https://tw.wordpress.org/plugins/tags/sslcommerz/)[tutor](https://tw.wordpress.org/plugins/tags/tutor/)
   [Tutor LMS](https://tw.wordpress.org/plugins/tags/tutor-lms/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tspay/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/tspay/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/tspay/reviews/)

## 參與者

 *   [ HasinHayder ](https://profiles.wordpress.org/hasinhayder/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/tspay/)