Skip to content
LearnDash Support
  • Products

      LearnDash LMS Plugin

      Powering intuitive online courses with advanced management and engagement features for WordPress.

      Learn More

      LearnDash LMS Plugin + Hosting

      StellarSites Learning is a fully managed hosting solution for WordPress.

      Learn More

      Premium LMS Add-ons
      Enhance your courses with extra features. Gather insights, reward learners, protect your course content, and more!

      Explore all Add-ons

      MemberDash
      The most flexible membership plugin for WordPress. Monetize your content and build a community.

      View MemberDash

  • Pricing
  • Add-ons & Integrations

      LEARNDASH ADD-ONS

      Instructor Role

      Empower Instructor to manage courses.

      Groups Management

      Organization management, delegation and more

      ProPanel

      Advanced analytics reporting.

      Gradebook

      Track progress and create report cards.

      Notes

      Enable notetaking and two-way communication.

      Rating, Reviews, & Feedback

      Build trust and gain valuable insights.

      FEATURED INTEGRATIONS

      The Events Calendar

      Connect with the most popular events solution.

      BuddyBoss

      Powerful tools for an enhance learning experience.

      WooCommerce

      The most popular shopping cart on WordPress.

      WeGlot

      Translate your LearnDash content.

      All Integrations

      BUNDLES

      Package and save
      Save when you buy multiple plugins in a bundle.

      See all bundles.

      MORE

      Release Notes

      Get Help

  • Resources
      LearnDash Academy Videos, webinars, and resources to help you launch a successful course.
      Blog Blog
articles with the latest news and tips to help you run high-quality courses.
      Knowledge Base A support network to help you make the most of your courses.
      Release Notes Stay up-to-date with the latest updates to LearnDash.
      Get Help

      Professional Services

      LMS Site Development Get hands-on assistance launching your course website.
      Website Maintenance WordPress management made easy.
      SEO Services SEO solutions that accelerate growth.

      Other Resources

      LearnDash Accessibility At LearnDash, we believe online learning should be accessible to everyone.
      Join the Dev Club
  • Demo
  • Sign In
Get LearnDash

Knowledge Bases: Support Home | LearnDash Core | LearnDash Add-ons | LearnDash Cloud | Resources | Mobile App

LearnDash Support
  • ← Return to LearnDash
  • Support
    • Support Home
    • All Knowledge Bases
    • LearnDash Core
    • Add-ons
    • Resources
    • Cloud
  • My Account
Popular searches: api duplicate couse email gp query loop [ld_course_resume]

ProPanel

1
  • ProPanel

Instructor Role

34
  • Intro to Instructor Role
  • Instructor Overview Page
  • Instructor Dashboard
  • Instructor Dashboard Menu
  • Adding Instructors
  • Multiple Instructors
  • Instructor Commissions
  • Selling Courses Through WooCommerce
  • Instructor Profile
  • Profile Introduction Sections
  • Create Learning Content And Quizzes
  • Instructor Role Reports
  • Instructor Notifications
  • Instructor Role Email Settings
  • Review Instructor Course Updates
  • Instructor Groups Access
  • Instructor Comments Access
  • Student Teacher Communication
  • Multiple Instructors Shortcode
  • Instructor Dashboard Settings
  • Instructor Role Color Schemes
  • Commission Logs
  • Instructor Role Navigation Settings
  • Instructor Role Overview Settings
  • Instructor Role Menu Settings
  • Frontend Course Creator
  • Frontend Quiz Creator
  • Frontend Dashboard: Installation Guide
  • Frontend Dashboard for Instructors: Gutenberg Blocks List
  • How to Customize the Frontend Dashboard
  • How to disable the WordPress admin page for Instructors
  • Introducing Frontend Dashboard
  • Elementor Compatibility
  • Setup PayPal Payouts for Instructors

Ratings, Reviews, & Feedback

1
  • Ratings, Reviews, & Feedback

Elementor Add-on

1
  • LearnDash Elementor Addon

Groups Plus

6
  • Group Leader
  • Create an Organization
  • Getting Started with Groups Plus
  • WooCommerce LearnDash Teams Products
  • Front-end Dashboard
  • Groups Plus FAQ

2Checkout Add-on

1
  • 2Checkout Integration

bbPress Add-on

1
  • bbPress Integration

Easy Digital Downloads Add-on

1
  • Easy Digital Downloads Integration

Event Espresso Add-on

1
  • Event Espresso Integration

Gravity Forms Add-on

1
  • Gravity Forms Integration

MemberPress Add-on

1
  • MemberPress Integration

Notifications Add-on

1
  • Notifications Add-On

Paid Memberships Pro Add-on

1
  • Paid Memberships Pro Integration

Restrict Content Pro Add-on

1
  • Restrict Content Pro Integration

SamCart Add-on

1
  • SamCart Integration

Stripe Add-on

1
  • Stripe Add-on Deprecation FAQ

The Events Calendar Add-on

1
  • The Events Calendar Integration

ThriveCart Add-on

1
  • ThriveCart Integration

WooCommerce Add-on

1
  • WooCommerce Integration

Zapier Add-on

1
  • Zapier Integration

Compatibility Add-on

1
  • Compatibility Add-Ons

Certificate Builder Add-on

1
  • Certificate Builder Add-On

Achievements Add-on

1
  • Achievements Add-On

Integrity Add-on

1
  • Integrity Add-on

3rd Party Plugins

1
  • 3rd Party Plugins

Gradebook

1
  • Gradebook Add-On

Notes Add-on

1
  • Notes Add-On

Groups Management

4
  • Groups Management
  • Global Settings
  • Groups Plus Add-On
  • Group Registration for LearnDash
View Categories
  • Home
  • All Knowledge Bases
  • Add-ons
  • 2Checkout Add-on
  • 2Checkout Integration

2Checkout Integration

The LearnDash 2Checkout integration is one of several options for selling your courses. If you already have a 2Checkout account, or you like what their payment gateway has to offer, you can use this integration to sell courses on your LearnDash site.

NOTE: You will need to register for a free 2Checkout account before you can use this integration.

The 2Checkout integration will allow you to sell courses, but it doesn’t come with a lot of flexibility. If you’re looking for more robust member management, a customizable checkout experience or integrations with other WordPress plugins or services, check out our ecommerce and membership add-ons.

For other simple ways to accept payments, consider our built-in PayPal integration or the free Stripe add-on.

Who Should Use the 2Checkout Integration? #

You should consider using the 2Checkout integration if:

  • You’re looking for a quick and easy way to start selling courses
  • You want to use the 2Checkout payment gateway

You might not want to use the 2Checkout integration if:

  • You want to customize the user’s checkout experience
  • You are creating a fully functional membership site
  • You’re selling other products in addition to courses
  • You want to closely manage the account creation and login process

Sign Up for a 2Checkout Account #

  • Navigate to 2checkout.com and follow the instructions for registering a new account
  • Once your account is set up, you can navigate to secure.2checkout.com to access your account settings, as well as the information you’ll need to set up the LearnDash integration

Install the 2Checkout Integration #

Option 1: Add-ons Menu(requires an active LearnDash license) #

  1. In your WordPress admin area, navigate to LearnDash LMS > Add-Ons
  2. Locate the 2Checkout for LearnDash add-on
  3. Click Install Now
  4. Click the Activate Plugin button
LearnDash 2Checkout plugin card

Option 2: Manual Upload #

  1. Download the plugin file (must be logged in to download)
  2. In WordPress, navigate to Plugins > Add New
  3. Click Upload Plugin
  4. Browse for the .zip file you downloaded in Step 1
  5. Click Install Now
  6. Click Activate Plugin

2Checkout Settings #

To finish setting up the integration, there are a few pieces of information you’ll need to provide to LearnDash. Let’s walk through each one, and show you where to find the information in your 2Checkout account.

All the information you need can be found in your 2Checkout Dashboard.

Enable Instant Notification System (INS) #

  1. In 2Checkout, navigate to Integrations > Webhooks & API
  2. Scroll to the Instant Notification System (INS) section
  3. Check the box to enable INS
  4. Click Update
Enable INS in 2Checkout

Merchant Code #

To locate your merchant code in 2Checkout:

  1. Still on the Integrations > Webhooks & API page
  2. Under the API section, you’ll find your Merchant Code
2Checkout Merchant Code in dashboard

INS Secret Word #

To locate your INS secret word in 2Checkout:

  1. Still on the Integrations > Webhooks & API page
  2. Under the Secret Word section, you’ll find your INS secret word
2Checkout INS secret word


Now you’ll switch over to your WordPress admin area to enter the information.

  1. Navigate to LearnDash LMS > Settings
  2. Click the 2Checkout Settings tab at the top
  3. Enter your merchant code and INS secret word from above

Approved URL (Header Redirect) #

This one is a little different. You actually have to provide the approved URL to 2Checkout.

2Checkout URL redirect

  1. Copy the URL that is displayed in the box
  2. Navigate your 2Checkout Dashboard
  3. Go to the Integrations > Webhooks & API page
  4. Find the Redirect URL section
  5. Check the box to Enable return after sale
  6. Paste the URL in the Approved URL box
  7. In the Return Method dropdown, choose Header redirect
  8. Click Update

Demo Mode #

Enable demo mode if you’d like to perform a test transaction, without any money exchanging hands.

After you’ve confirmed everything is working properly, you’ll want to disable this to begin receiving actual payments on your live site.

Course Configuration #

After you’ve configured your 2Checkout for LearnDash settings, the final thing you need to do is set up your course to accept payments.

  1. In the WordPress admin area, navigate to LearnDash LMS > Courses
  2. Click on the course you’d like to sell with 2Checkout
  3. Click on Settings at the top
  4. Scroll down to Course Access Settings
  5. Set the “Access Mode” to one of two values:
  • Buy Now: Use “Buy Now” for one-time payments
  • Recurring: Use “Recurring” if you’d like to set up a recurring payment or subscription

And finally, enter your price in the Course Price field. Ex: 29.99

  • The currency symbol will be added automatically for you
  • If your price is an even dollar amount, you may omit the decimal point and cents (for example: 29)

For recurring payments, you need to include the “Billing Cycle” in days, weeks, months or years.

Setting price on Buy Now course in LearnDash

The User Experience #

Now when a user navigates to your course page, and they click the “Take this Course” button, they will be redirected to 2Checkout to complete their purchase.

After payment is complete, a new user account is automatically created, and that user is enrolled into the course they just purchased.

FAQ #

Does 2Checkout support payments in my country?

Please reference 2Checkout’s list of supported countries.

How do I issue refunds and/or cancel subscriptions for my customers?

Issuing refunds and canceling subscriptions is done from your 2Checkout account, not from LearnDash or this add-on.

Are users automatically removed from a course if they are issued a refund?

No. You can remove the course access from their profile.

Why is it showing two transactions on my records?

For LearnDash 4.5.0 or newer, there will be 2 transaction record per single transaction. This is normal and your user will not be charged twice for each transaction. See our explanation on this on our Payment Transaction Records documentation.

Updated on January 10, 2025
Table of Contents
  • Who Should Use the 2Checkout Integration?
  • Sign Up for a 2Checkout Account
  • Install the 2Checkout Integration
    • Option 1: Add-ons Menu(requires an active LearnDash license)
    • Option 2: Manual Upload
  • 2Checkout Settings
    • Enable Instant Notification System (INS)
    • Merchant Code
    • INS Secret Word
    • Approved URL (Header Redirect)
    • Demo Mode
  • Course Configuration
  • The User Experience
  • FAQ

Was this Doc Useful?

Thanks for your feedback!

Products

  • LearnDash LMS Plugin
  • MemberDash Plugin
  • LearnDash Cloud
  • ProPanel
  • Groups Management
  • Gradebook
  • Notes
  • Integrations

Support

  • Contact Us
  • Experts
  • Documentation
  • Facebook Community

Company

  • About LearnDash
  • Brand Assets
  • Careers
  • Affiliates
  • Privacy Policy
  • Terms and Conditions
  • Refund Policy

Our Partners

  • The Events Calendar
  • MemberDash
  • Kadence
  • GiveWP
  • Iconic
  • SolidWP

Stay Connected Subscribe to our newsletter
  • YouTube
  • X
  • Facebook
  • Instagram

Copyright 2026. All Rights Reserved.

A Liquid Web Brand
WordPress Hosting Services
© 2026 All Rights Reserved

StellarWP
liquidweb