1. Home
  2. Docs
  3. Add-Ons
  4. ThriveCart Integration

ThriveCart Integration

The LearnDash ThriveCart integration is one of several options for selling your courses. ThriveCart is a premium eCommerce solution that provides several payment options (one-time, subscriptions, trials), advanced analytics, cart abandonment recovery, A/B split testing, upsells, and more.

ThriveCart is a premium service, and at this time don’t offer a free trial. You can use this integration to sell courses on your LearnDash site.

NOTE
You need to sign up for a ThriveCart account before you can use this integration.

If you’re looking for a free and/or easier way to accept payments, consider our built-in PayPal integration or the free Stripe add-on.

Who Should Use the ThriveCart Integration?

You should consider using the ThriveCart integration if:

✅ you want to use beautiful, pre-built checkout templates
✅ you have one, or only a few, courses to sell
✅ you’re looking for advanced analytics & other conversion-focused eCommerce features

You might not want to use the ThriveCart integration if:

❌ you’re selling a lot of courses (or other products)
❌ you want to closely manage the account creation & login process
❌ you’re on a tight budget

Sign Up for a ThriveCart Account

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

Install the ThriveCart 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 ThriveCart for LearnDash add-on
  3. Click Install Now
  4. Click the Activate Plugin button

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

Create a Product in ThriveCart

Before you can connect a LearnDash course, you’ll need to create a product in ThriveCart that you can connect it to.

Adding a product to ThriveCart from the Dashboard

  1. Navigate to ThriveCart.com and click the Log In button
  2. From your dashboard, click on Products
  3. Click the Create Product button
  4. Select Digital on the product type selection pop-up
  5. Click the Create New Product button
  6. Fill in your product details, clicking Next on each tab until all the necessary details are complete
  7. Click Save & Get URL to finish creating your product

For more information on creating your first product, check out ThriveCart’s getting started guide.

Create a Product in WordPress

Now that you have a product in ThriveCart, you’ll need to create a matching product in WordPress, and link it to a LearnDash course.

Adding a ThriveCart product in WordPress

  1. Navigate to LEARNDASH LMS > THRIVECART
  2. Click Add New ThriveCart Product

Title

Enter a title for your product. In most cases, this should match the title for your LearnDash course.

Slug

The slug is a unique identifier for this product. It should match your product title, but…

  • be all lowercase
  • spaces should be replaced with hyphens

If your product title is My Awesome Course, your slug should be:

my-awesome-course

ThriveCart Product ID

You can locate your Product ID from the ThriveCart dashboard.

  1. Click on a product to edit it
  2. Look in the URL bar at the top of your browser window
  3. The product ID is the number located after /products/

ThriveCart Product ID

ThriveCart uses ascending product IDs. In general, if you have 1 product the product ID will be 1.

Associated Courses

Select the LearnDash courses that you’d like to link to this product. As soon as someone buys the product via ThriveCart, they will be automatically added to the course.

Hold down CTRL (CMD on Mac) to select multiple courses.

Webhook URL

The Webhook URL is automatically created for you, but you need to provide it to ThriveCart in order to complete the integration.

  1. Navigate to LEARNDASH LMS > THRIVECART
  2. Click on the Settings tab
  3. Copy the URL from the “Webhook URL” box
    Webhook URL for ThriveCart
  4. Navigate to your ThriveCart dashboard
  5. Click on your Profile
  6. Click on Settings
  7. Click on API & Webhooks
  8. Click on Webhooks & Notifications
  9. Click on Add a Webhook
  10. Paste in your webhook URL into the box and save
    Adding the webhook URL to ThriveCart

Secret Word

The Secret Word is automatically generated by ThriveCart from your ThriveCart account. Having the correct Secret Word added to your LearnDash website will ensure that both platforms, ThriveCart and your website, can communicate securely and payments are well validated. Here is how you can set it up

  1. On your ThriveCart dashboard, navigate to SETTINGS > API & WEBHOOKS > THRIVECART ORDER VALIDATION
  2. Click on View Settings
  3. Copy the generated Secret Word
    ThriveCart Secret Word
  4. Go back to your WordPress admin area
  5. Navigate to LEARNDASH LMS > THRIVECART
  6. Click on the Settings tab
  7. Paste your Secret Word on to the Secret Word field
    Add Secret Word from ThriveCart to WordPress

If you’re having problems with the integration, you have the option to generate a new Secret Word from your ThriveCart settings page. Just make sure that you also update the Secret Word on your LearnDash ThriveCart Addon settings.

Course Configuration

After you’ve configured your ThriveCart 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
  3. Click on Settings at the top
  4. Scroll down to Course Access Settings
  5. Set the “Access Mode” to Closed
  6. Enter your ThriveCart product URL in the Button URL field

Setting up course settings in LearnDash for ThriveCart

To locate your ThriveCart product URL, navigate to your Products page from your ThriveCart Dashboard, then, click the “Get URL” button next to the product that you created. It should automatically be copied to your clipboard, otherwise, copy the URL from the box that shows up on the page.

ThriveCart product page get URL button

The User Experience

Now, when someone navigates to your course page and clicks the “Take this Course” button, they’ll be directed to ThriveCart 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.

COURSE REMOVAL
The ThriveCart integration will automatically remove users from a course if you refund their payment or their subscription is cancelled.

FAQ

Can I still use and set up “Bumps” and “Upsells”?

Yes, you can still add “Bumps” and “Upsells” to your products from your ThriveCart product set up. Since ThriveCart will handle the checkout process, any upsells or promotions that you associate with a product will be reflected when the user is redirected to the ThriveCart checkout page. You can learn more about setting up ThriveCart “Bumps” and “Upsells” on ThriveCart’s official support site. 

On the LearnDash side, you have to create a new ThriveCart Product on the ThriveCart addon for every new Upsell or Bump that you associate with your main product. Under the ThriveCart Product ID field, you have to enter:

  • For Bumps: bump-main product number (Substitute your main product number with the real values, e.g., bump-1)
  • For Upsells: upsell-upsell product number (Substitute your Upsell number with the real values, e.g., upsell-1. You can get this number from the URL of the Upsell on your ThriveCart Upsells Page.)

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. 

Was this article helpful to you?

How can we help?