Submit a ticket My Tickets
Welcome
Login  Sign up
Open navigation

How to Give Access to a Payment Page with an Already Applied Coupon

In this article, we will learn how to give access to a payment page with an already applied coupon with custom payment pages or by creating shareable payment links.

Create Coupons

The first step to give access to a payment page with a pre-applied coupon is to create discount coupons. 


According to this article, you can create coupons for courses or bundles by navigating to Marketing → Promotions/Coupons.

According to this article, you can create coupons for subscriptions by navigating to Marketing → Plan promotions.

Create a custom payment page

1. You can create a dedicated page that will include a payment section according to this article: Customize a Payment Page.

2. You can add a payment section on any existing page: Add and Customize the Payment Section.


Then, you need to apply the coupon from the drop-down list (all available coupons will be displayed), and the discount will be automatically applied during the checkout process.


You can add the extension ?coupon=COUPONCODE at the end of your page's URL, replacing COUPONCODE with the specific coupon code you want to use. The final result will look like this: {yourdomain}.learnworlds.com/page?coupon=couponcode. This will automatically apply the coupon code in the payment section on your page. This URL format does not work on system pages, such as the payment page.

Create a shareable URL link

You can share a product's URL with your users with a coupon already applied. 


Course URL

1. Copy the product's URL by navigating to the course's Access tab or the product's Page Properties. For example, the URL https://{example}.learnworlds.com/course/piano-lessons is a Course URL.


2.a. Αfter the product URL paste the element "?coupon=" and the coupon's code (i.e. code1). The final URL should look like this: https://{example}.learnworlds.com/course/piano-lessons?coupon=code1 


When users visit the above URL, they will be redirected to the product's page, and after clicking on Enroll, they will be redirected to the Payment page, where the coupon discount will already be applied. The user will then be able to click on Buy and proceed with the purchase.


2.b. If you wish to redirect your users straight to the Payment page, then you need to use URLs such as the following: https://{example}.learnworlds.com/payment?product_id=piano-lessons&coupon=code1


You need to copy your School's URL, paste this element "/payment?product_id=", then paste the course ID, and add the following coupon element with the coupon ID "&coupon=code1".


Bundle URL

If you wish to share a Bundle URL straight to the Payment page with a coupon code, you should add &type=bundle in the URL as in the following example: https://example.learnworlds.com/payment?product_id=piano-bundle&type=bundle&coupon=code1


Subscription URL

If you wish to share a Subscription URL straight to the Payment page with a coupon code, you should add &type=subscriptionin the URL as in the following example: https://yourschool.learnworlds.com/payment?product_id=piano-subscription&type=subscription&coupon=AUT2021


- You need to replace example.learnworlds.com with your school URL and the example course and coupon ID with the ones you have created.

- For more information on how to share a payment link, check this article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.