{"id":7329,"date":"2024-10-18T15:15:20","date_gmt":"2024-10-18T19:15:20","guid":{"rendered":"https:\/\/learndash.com\/support\/docs\/faqs\/can-i-use-the-same-stripe-purchase-button-on-multiple-courses\/"},"modified":"2026-04-22T09:22:37","modified_gmt":"2026-04-22T13:22:37","password":"","slug":"stripe-button-multiple-courses","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/resources\/uncategorized\/stripe-button-multiple-courses\/","title":{"rendered":"Can I use the same Stripe Purchase Button on multiple courses?"},"content":{"rendered":"\n<p>Yes, you can. Since you are using LearnDash&#8217;s built-in &#8220;Buy Now&#8221; or &#8220;Recurring&#8221; access options, you can use the <span style=\"color: #3366ff;\"><code class=\"code css-1tbex3z\" data-renderer-mark=\"true\">learndash_payment_buttons<\/code><\/span> shortcode to generate the purchase link.<\/p>\n\n\n\n<p>First, you need to find the Course ID for the course you want to create a purchase link for.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list ak-ol\">\n<li>Go to LearnDash LMS &gt; Courses:\n<ul class=\"wp-block-list\">\n<li>Find the course you want to link to and hover over the course name.<\/li>\n\n\n\n<li>The Course ID will be displayed in the URL at the bottom of your browser. For example: <code>post=1234<\/code>.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p>You can use the <code>learndash_payment_buttons<\/code> shortcode to create a purchase button on any page.<\/p>\n\n\n\n<p><code class=\"language-\">[learndash_payment_buttons course_id=\"1234\"]<\/code><\/p>\n\n\n\n<p>For more information, see: <a href=\"https:\/\/learndash.com\/support\/docs\/core\/shortcodes-blocks\/#learndash_payment_buttons_learndash_payment_buttons\" rel=\"nofollow\">Shortcodes and Blocks &#8211; LearnDash Support<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, you can. Since you are using LearnDash&#8217;s built-in &#8220;Buy Now&#8221; or &#8220;Recurring&#8221; 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. You can use the learndash_payment_buttons shortcode to create a purchase&#8230;<\/p>\n","protected":false},"author":75,"featured_media":0,"template":"","meta":{"_helpful_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[],"doc_tag":[],"knowledge_base":[157],"class_list":["post-7329","docs","type-docs","status-publish","hentry","knowledge_base-resources"],"year_month":"2026-08","word_count":116,"total_views":"2397","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"LearnDash Staff","author_link":"https:\/\/learndash.com\/support\/author\/learndash_staff\/"},"doc_category_info":[],"doc_tag_info":[],"taxonomy_info":{"knowledge_base":[{"value":157,"label":"Resources"}]},"featured_image_src_large":false,"comment_info":"","knowledge_base_info":[{"term_name":"Resources","term_url":"https:\/\/learndash.com\/support\/kb\/resources\/","term_slug":"resources"}],"knowledge_base_slug":["resources"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/7329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/users\/75"}],"version-history":[{"count":5,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/7329\/revisions"}],"predecessor-version":[{"id":8312,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/7329\/revisions\/8312"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=7329"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=7329"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=7329"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=7329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}