This guide will show you how to create direct paymentlinks for your LearnWorlds products. These links take users straight to the checkout page and can include pre-applied discount coupons. It’s a simple way to make buying your courses easier, especially when sharing links via email, social media, or other platforms like WordPress.
This feature brings value by helping you skip landing pages, apply discounts automatically, and give learners faster access to your paid content.
Use Cases
Here are 5 common ways to use direct payment links:
- Share a discounted course via email during a limited-time promotion.
- Sell a private course by sharing a private payment link.
- Promote a subscription plan with a streamlined checkout.
- Add a direct link to your sales page on external sites like WordPress.
Steps to Create a Basic Payment Link
- Open your LearnWorlds school and navigate to the product you want to promote.
- Copy the Product ID.
- Construct your link by following the appropriate format below:
Configure Payment Flow Settings
To ensure users can complete the checkout process:
- Go to Website → Navigation → Payment Flow.
- Enable: “Logged out users will be redirected to the payment page when clicking to buy a product”
- Make sure your Payment Page includes a Sign-up Form so that:
-New users can sign up and purchase in one step.
-Logged-in users will see their details prefilled, or can simply log in.
How to Add a Coupon to a Payment Link
First, you need to create your coupons. Navigate to E-commerce→ Offers → Create an Offer.
Next, add the coupon to your payment URL by including &coupon=COUPONCODE at the end. e.g. https://yourdomain.learnworlds.com/payment?product_id=COURSEID&type=course&coupon=DISCOUNT20
What About Auto-Applied Discounts?
Create your auto-applied discount as mentioned here, and the discounted price will be shown directly on the product and payment pages. No coupon entry or special links needed.
Installment Plan Payment Links
If your product supports installment payments, go to the Pricing tab → Payment Plans. Click Get URL to copy the specific installment payment link
This link will lead directly to the payment page with the installment plan pre-selected.
How the Shopping Cart Affects Payment Links
LearnWorlds offers a Shopping Cart feature that allows learners to purchase multiple products at once. When it's enabled, users complete their purchases through the cart, not the direct payment page. There are a few exψeptions where the payment page/section will still be used.
- Subscriptions: Subscriptions are always processed through the payment page. Payment links still function normally.
- Custom Pages with Payment Sections: If you’ve added a Payment Section to a custom or non-system page, learners can: Visit that page directly, see the embedded payment section, and checkout directly.
Create a Custom Payment Page
Another option is to add payment sections to custom pages and share the link of that page with your users. There, you can display a discounted price or offer multiple products similar to how the shopping cart works.. To create this flow:
1. Create a New Payment Page that will include a payment section.
2. Add a payment section to an Existing Page.
In the Payment Section, make sure to choose the relevant course or learning program, select the code you want to use, and the discounted price will be shown automatically in the checkout.
- If you assign a coupon code to the general payment page, the discount will be applied to all products, regardless of the specific courses or learning programs selected during coupon creation.
- In contrast, custom payment sections allow you to target specific products: you can assign discounts to individual courses, learning programs, or bundle offers.
- To auto-apply a coupon via URL, add ?coupon=COUPONCODE to the end of your custom page’s URL, replacing COUPONCODE with your actual coupon code. Your link will look like this, https://{yourdomain}.learnworlds.com/page-name?coupon=SAVE20. This only works on custom pages with a payment section, not on system-generated pages like the default payment page.