Help Docs Software LearnDash LearnDash References Can I use the same Stripe Purchase Button on multiple courses?

Can I use the same Stripe Purchase Button on multiple courses?

Yes, you can. Since you are using LearnDash’s built-in “Buy Now” or “Recurring” access options, you can use the learndash_payment_buttons shortcode to generate the purchase link.

First, you need to find the Course ID for the course you want to create a purchase link for.

  1. Go to LearnDash LMS > Courses:
    • Find the course you want to link to and hover over the course name.
    • The Course ID will be displayed in the URL at the bottom of your browser. For example: post=1234.

You can use the learndash_payment_buttons shortcode to create a purchase button on any page.

[learndash_payment_buttons course_id="1234"]

For more information, see: Shortcodes and Blocks – LearnDash Support

Was this article helpful?