You have built your LearnDash course. The content is ready, the quizzes are sharp, and the design looks the part. But then comes the one question that quietly determines whether your hard work actually generates revenue: how does a student actually pay you?
For many course creators, PayPal is the default, and it works fine. But if you are selling to an international audience, catering to students who do not have a PayPal account, or simply want more flexibility in how you handle global transactions, you need something more. That is exactly where 2Checkout, now operating under the Verifone brand, comes in.
In this guide, we will walk you through everything you need to know to get 2Checkout working with your LearnDash site, from understanding what it actually does to a step-by-step configuration walkthrough. If your old LearnDash documentation on this topic has gone dark, consider this your updated, practical replacement.
What Is 2Checkout (Verifone) and Why Use It with LearnDash?
2Checkout is a global payment platform that allows online businesses to accept credit cards, debit cards, PayPal, and a range of local payment methods from buyers in over 200 countries. Since its acquisition by Verifone, the platform has grown into a robust solution for digital product and online course sales, which makes it a natural fit for LearnDash-powered eLearning sites.
What makes it worth the setup?
- Global reach: Accept payments from students who cannot or do not use PayPal, which is a real barrier in many markets.
- Multiple currencies: Sell in your student’s local currency, reducing checkout friction and increasing conversion rates.
- Recurring billing: Perfect for subscription-based course access or membership-style learning programs.
- Credit and debit card support: Visa, Mastercard, American Express, and more, without the student needing a PayPal account.
- Fraud protection: Built-in tools that protect your revenue from chargebacks and fraudulent transactions.
- Digital goods optimisation: 2Checkout is specifically built for digital sellers, meaning its compliance and tax handling play well with eLearning businesses.
Combined with LearnDash’s native course protection, enrollment management, and progress tracking, adding 2Checkout to your payment stack gives you a genuinely professional-grade course commerce setup without requiring enterprise-level infrastructure.
Before You Begin: What You Will Need
Before jumping into the WordPress dashboard, make sure you have the following in order:
Prerequisite 1: An Active 2Checkout / Verifone Account
Head over to the Verifone (2Checkout) website and sign up for a merchant account. Approval typically takes 1 to 3 business days. Once approved, you will have access to your merchant dashboard, where you will find the two critical pieces of information you need: your Merchant Code and your Secret Word.

Prerequisite 2: A Live LearnDash Installation
You will need LearnDash installed and activated on your WordPress site. If you are starting fresh or running into configuration issues, our LearnDash Quick Launch service gets your full site built and configured from scratch, so you can skip the technical headaches entirely. You will also need the 2Checkout for LearnDash add-on installed and activated, which you can add from LearnDash LMS > Add-Ons inside your WordPress dashboard. This add-on is what makes 2Checkout available as a payment option.

Prerequisite 3: At Least One LearnDash Course Set Up
Your payment gateway needs something to sell. Make sure you have at least one course created inside LearnDash with a price assigned to it before testing the payment flow.

Step-by-Step: Setting Up 2Checkout in LearnDash
Let us walk through the configuration. The process is straightforward once you know where to look, and we will flag the friction points so you do not get caught out.
Step 1: Navigate to LearnDash Payment Settings
In your WordPress admin panel, go to LearnDash LMS > Settings, then click the 2Checkout Settings tab at the top. LearnDash gives 2Checkout its own dedicated settings tab, so you do not have to hunt for it under PayPal. This is where you will enter your 2Checkout credentials in a later step.
Step 2: Enable 2Checkout as a Payment Gateway
Within the payment settings panel, you will see a toggle or checkbox to enable 2Checkout. Activate it. Once enabled, additional 2Checkout configuration fields will appear below. You can enable 2Checkout alongside PayPal, giving students the choice at checkout, or use it as your only gateway.

Step 3: Enter Your Merchant Code
Log in to your 2Checkout merchant dashboard and locate your Merchant Code (sometimes referred to as your Account Number). Copy it and paste it into the designated field in LearnDash. This code tells 2Checkout which merchant account to route payments to.
Step 4: Add Your Secret Word
Inside your 2Checkout dashboard, navigate to Integrations > Webhooks & API and, under the Secret Word section, locate your INS Secret Word. This is a shared key that verifies the authenticity of payment notifications sent between 2Checkout and your LearnDash site. Copy and paste it into the corresponding field on the 2Checkout Settings tab in LearnDash. Make sure it matches exactly; even a single character difference will break the integration.

Step 5: Configure the Return URL in Your 2Checkout Dashboard
Back in your 2Checkout account, under Integrations > Webhooks & API > Redirect URL, check the box to Enable return after sale. Then copy the URL that LearnDash displays on its 2Checkout Settings tab, paste it into the Approved URL box, and in the Return Method dropdown choose Header redirect before clicking Update. Getting this right ensures the post-purchase flow works correctly and students are enrolled in the course immediately upon payment.

Step 6: Enable INS (Instant Notification Service)
In your 2Checkout dashboard, go to Integrations > Webhooks & API and scroll to the Instant Notification System (INS) section. INS is 2Checkout’s version of a payment webhook. This is what tells your LearnDash site in real time that a payment has been completed, triggering automatic course enrollment. Without it, students may pay and not be enrolled until you manually verify the transaction.

Simply check the box to enable INS and click Update. There is no notification URL to enter manually; the add-on handles the connection for you once INS is switched on.
Step 7: Save and Test in Sandbox Mode
Before going live, LearnDash offers a Demo Mode for 2Checkout. Enable this setting, run a test purchase using 2Checkout’s demo card numbers, and verify the full flow: payment > account creation > enrollment > course access. Only once you have confirmed everything works end-to-end should you switch to live mode and open your courses for real purchases.


Step 8: Set Each Course’s Price and Access Mode
With the gateway configured, the last step is telling each course how to sell. In the WordPress admin, go to LearnDash LMS > Courses, open the course you want to sell, click Settings, and scroll to Course Access Settings. Set the Access Mode to one of two values, then enter a price.
- Buy Now: use this for one-time payments.
- Recurring: use this for a subscription or recurring payment. Recurring also requires a Billing Cycle set in days, weeks, months, or years.
Enter the price in the Course Price field, for example 29.99. The currency symbol is added automatically, and for a whole-dollar amount you can omit the decimals (for example, 29).
WOONINJAS LEARNDASH SERVICES
Don’t Want to Set This Up Yourself?
Our team has configured LearnDash payment gateways for hundreds of eLearning sites across the globe. We will handle the full setup, test it, and make sure everything works, so you can focus on your students, not your settings.
What Happens After a Student Pays? The Automated Flow
This is the part that makes the whole integration genuinely powerful, and it is worth spelling out clearly, because it is one of the most common questions we hear from course creators.
Once a student completes their payment through the 2Checkout gateway, here is what happens automatically:
Instant Enrollment
The INS notification fires from 2Checkout to your LearnDash site, which processes the payment confirmation and immediately enrolls the student in the course they purchased. No manual intervention required.
Automatic Account Creation
If the student is a new user, LearnDash automatically creates a WordPress account for them and enrolls them in the course they purchased. There is no manual setup step, and they are enrolled the moment payment is confirmed.
Existing Users
If the purchasing student already has an account on your site, they will simply receive a notification that the course has been added to their dashboard. No duplicate accounts, no friction.
This automated delivery flow removes one of the biggest pain points in course commerce: the manual enrollment step that burns course creators’ time and frustrates students who expect immediate access.
Running 2Checkout and PayPal Together
One of the underappreciated aspects of LearnDash’s payment setup is the flexibility it gives you at checkout. You are not forced to choose one gateway and lock out the other. You can run both simultaneously.
From a conversion standpoint, this matters. Students who do not see their preferred payment method will leave without purchasing. Offering both PayPal and 2Checkout means:
- PayPal users can pay the way they prefer
- Students without PayPal accounts can still pay by card
- International students see a gateway that accepts their local currency
- You capture sales you would otherwise lose to checkout friction
The configuration for running both is simply a matter of keeping both gateways enabled in your LearnDash payment settings simultaneously. No additional plugin or custom code required.
Common Issues and How to Fix Them
Students Enroll But Do Not Receive a Confirmation Email
This is usually a WordPress email delivery issue rather than a 2Checkout problem. Check that your site is configured to send transactional emails reliably. Consider using an SMTP plugin like WP Mail SMTP to ensure your hosting server’s mail function does not silently discard enrollment emails.
Payment Completes, But Enrollment Does Not Trigger
Nine times out of ten, this points to the INS configuration. Double-check that your INS URL is correct, that INS is enabled in your 2Checkout dashboard, and that your Secret Word matches exactly between 2Checkout and LearnDash. A firewall or security plugin blocking the incoming webhook notification can also cause this. Check your WordPress security logs if the other settings look correct.
Test Mode Transactions are working, but Live Mode is not
Confirm that you have switched LearnDash from sandbox to live mode and that your 2Checkout account is fully approved and out of sandbox status on 2Checkout’s end. Both sides need to be in live mode simultaneously.
Currency Mismatch Errors
Make sure the currency set in your LearnDash settings matches one of the currencies your 2Checkout account is configured to accept. A mismatch here will cause the transaction to fail at the gateway level.
If you are running into configuration issues that are not covered above, our LearnDash Maintenance Plans include ongoing technical support. Our team can diagnose and resolve gateway issues as part of your plan.
Extending Your LearnDash Payment Setup Further
Once your 2Checkout gateway is live, you have laid the commercial foundation of your eLearning site. But there is a lot you can build on top of it.
WooCommerce + LearnDash
If you want more advanced checkout capabilities such as coupons, upsells, order management, or subscription-based billing, integrating WooCommerce with LearnDash unlocks a significantly richer commerce experience. WooCommerce supports dozens of payment gateways, including Stripe, and with WooNinjas’ expertise in both platforms, we have handled this integration for hundreds of sites.
LearnDash Add-Ons for Enhanced Course Delivery
Payment is just the transaction. The learning experience is what keeps students coming back. Our LearnDash Add-Ons library includes tools for certificate management, custom notifications, assignment grading, CEU tracking, and more. Each one is designed to extend what your LearnDash site can do without heavy custom development.
eLearning SEO
Getting paid is only worth celebrating if students are finding your courses in the first place. Our dedicated eLearning SEO services are built specifically for online course sites, helping you rank for the terms your potential students are actually searching.
Is 2Checkout Still the Right Choice in 2026?
Fair question. Since 2Checkout’s full integration into Verifone’s ecosystem, some course creators have wondered whether they should look elsewhere, particularly toward Stripe, which has become the default for many modern eLearning platforms.
Our honest assessment: 2Checkout remains a strong choice specifically for course creators who need solid international coverage without the complexity of setting up Stripe in markets where it requires local entities. Consider these factors:
- If your student base is primarily US or UK, Stripe integrated via WooCommerce may give you more flexibility.
- If you are selling to a genuinely global audience across Southeast Asia, Latin America, or Eastern Europe, 2Checkout’s payment localisation capabilities are still hard to beat at its price point.
- The right answer depends on your student geography, your pricing model, and how much payment infrastructure complexity you want to manage.
If you are unsure which gateway makes the most strategic sense for your site, that is exactly the kind of decision we help clients navigate as part of our LearnDash consulting and development work.
10+ Years | 700+ Sites Built | 75% Repeat Clients
Need a Ninja in Your Corner?
Whether you need a full LearnDash site built from the ground up, a payment gateway configured properly, or ongoing maintenance so nothing breaks when you are focused on teaching, WooNinjas has done it all for hundreds of course creators worldwide.
💡 PRO TIP
Do not just test that the payment goes through. Test the full student journey. Make a test purchase with a completely fresh browser session using an email address that does not exist in your WordPress user database. Confirm the account is created, the student is logged in or can log in, the course appears in the dashboard, and the first lesson loads correctly. This end-to-end test catches 90% of the edge cases that only surface after real students start paying.
Frequently Asked Questions
Can I use 2Checkout with LearnDash without WooCommerce?
Yes. LearnDash has native 2Checkout support built directly into its payment settings, no WooCommerce required. You can accept course payments via 2Checkout using only LearnDash’s core plugin. WooCommerce is only needed if you want more advanced checkout features like coupons, upsells, or a full cart experience.
Does 2Checkout automatically enroll students after payment in LearnDash?
Yes, provided you have the INS (Instant Notification System) correctly configured in your 2Checkout dashboard. Once a payment is confirmed, the INS webhook notifies LearnDash, which then automatically enrolls the student and creates a WordPress account for new buyers. Without INS enabled, you will need to manually enroll students after each purchase.
What is the difference between 2Checkout and Stripe for LearnDash course payments?
Both are solid gateways, but they serve different use cases. Stripe offers more developer flexibility and is excellent for US and EU-based student audiences, but requires WooCommerce integration in LearnDash. 2Checkout is natively supported by LearnDash, requires no additional plugins, and provides broader international payment coverage, making it particularly strong for course creators with a global student base.
How do I set up the 2Checkout Secret Word in LearnDash?
Log in to your 2Checkout merchant dashboard, navigate to Integrations > Webhooks & API, and locate your INS Secret Word under the Secret Word section. Copy it exactly as shown and paste it into the corresponding field on the 2Checkout Settings tab in LearnDash LMS > Settings. The Secret Word must match precisely on both sides for payment verification to work.
How do I issue refunds or cancel subscriptions?
Refunds and subscription cancellations are handled from your 2Checkout account, not from LearnDash or the add-on. Note that a refund does not automatically remove course access; if you want to revoke access after refunding, you remove the student’s enrollment manually from their profile in LearnDash.
Why do I see two transaction records for one payment?
On LearnDash 4.5.0 and newer, a single purchase can show two transaction records. This is expected behavior and the customer is not charged twice. The duplicate record is a reporting artifact, documented in LearnDash’s Payment Transaction Records guidance, not a double charge.
Can WooNinjas help me configure 2Checkout on my LearnDash site?
Absolutely. WooNinjas specialises in LearnDash development, configuration, and integration, including payment gateway setup. Whether you need 2Checkout configured correctly from scratch, troubleshooting for a broken integration, or a full LearnDash site built around your payment and course delivery requirements, you can get in touch with our team here.


