Mentor LMS Docs
Configuration

Payment Gateways

Configure PayPal, Stripe, Mollie, Paystack, Razorpay, and SSLCommerz payment gateways in Mentor LMS.

Mentor LMS supports multiple payment gateways to process course purchases.

Accessing Payment Settings

  1. Log in to your admin dashboard
  2. Navigate to SettingsPayment Settings

Supported Gateways

GatewayRegion
PayPalGlobal
StripeGlobal
MollieEurope
PaystackAfrica
RazorpayIndia
SSLCommerzBangladesh

You can enable one or multiple gateways simultaneously. Students see all enabled options at checkout.


PayPal

Payment Settings

  1. Toggle Enable PayPal to Yes
  2. Select Mode: Sandbox (testing) or Live
  3. Enter Client ID and Secret Key
  4. Click Save Changes

Webhook URL: https://your-domain.com/payment/paypal/webhook

Get credentials from PayPal Developer DashboardApps & CredentialsCreate App.


Stripe

Payment Settings

  1. Toggle Enabled switch
  2. Toggle Test Mode for development
  3. Enter Public/Secret keys (test and live)
  4. Set Webhook Secret
  5. Click Save Changes

Webhook URL: https://your-domain.com/payment/stripe/webhook

Get credentials from Stripe DashboardDevelopersAPI Keys.


Mollie

Payment Settings

  1. Toggle Enabled switch
  2. Toggle Test Mode for development
  3. Enter Test and Live API Keys
  4. Click Save Changes

Webhook URL: https://your-domain.com/payment/mollie/webhook


Paystack

Payment Settings

  1. Toggle Enabled switch
  2. Toggle Test Mode for development
  3. Enter Public/Secret keys (test and live)
  4. Click Save Changes

Webhook URL: https://your-domain.com/payment/paystack/webhook


Razorpay

Payment Settings

  1. Toggle Enabled switch
  2. Select your preferred Currency (e.g., INR)
  3. Toggle Test Mode for development
  4. Enter API Key and API Secret
  5. Click Save Changes

Get credentials from Razorpay DashboardSettingsAPI KeysGenerate Key.


SSLCommerz

Payment Settings

  1. Toggle Enabled switch
  2. Select your preferred Currency (e.g., BDT)
  3. Toggle Test Mode for development
  4. Enter Store ID and Store Password
  5. Click Save Changes

Get credentials from SSLCommerz Dashboard.


Testing Payment Gateways

Use these test card numbers in sandbox/test mode:

GatewayTest Card
Stripe4242 4242 4242 4242, any future expiry, any 3-digit CVC
Paystack4084 0840 8408 4081, any future expiry, any 3-digit CVC
Razorpay4111 1111 1111 1111, any future expiry, any 3-digit CVV
PayPalCreate test accounts in PayPal Developer Dashboard
SSLCommerzUse test cards from SSLCommerz sandbox documentation

On this page