[WordPress] 外掛分享: Course Flow

首頁外掛目錄 › Course Flow
WordPress 外掛 Course Flow 的封面圖片
全新外掛
安裝啟用
尚無評分
71 天前
最後更新
問題解決
WordPress 6.7+ PHP 7.4+ v1.0.0 上架:2026-01-03

內容簡介

**總結:**
透過 Course Flow,您可以在不需要 WooCommerce 外掛的情況下,使用 Stripe 在 Tutor LMS、LearnPress 和 LearnDash 上建立線上課程,助您快速且安全地收款。

**問題與答案:**
1. Course Flow 是什麼類型的 WordPress 外掛?
- Course Flow 是一個輕量、免費的 WordPress 外掛,可以直接將 Stripe Checkout 整合到 Tutor LMS、LearnPress 和 LearnDash 上。

2. 為什麼課程創作者會選擇使用 Course Flow?
- 課程創作者可以選擇使用 Course Flow 因為它不需要 WooCommerce,避免了不必要的複雜性和外掛衝突,並提供快速配置、直接的 Stripe Checkout、自動課程註冊等功能。

3. Course Flow 的關鍵功能有哪些?
- 直接整合 Stripe Checkout、支援 Tutor LMS、LearnPress 和 LearnDash、一次性付款、自動課程註冊、自動 WordPress 使用者帳戶建立、安全的 Stripe Webhook 處理等功能。

4. Course Flow 外掛的需求有哪些?
- 需要 WordPress 6.7 或更新版本、PHP 7.4 或更新版本、至少一個已啟用 LMS 外掛、Stripe 帳戶(包括 Publishable Key、Secret Key、Webhook Secret)、以及啟用 HTTPS。

5. 如何配置 Stripe Webhooks 以便在付款後自動註冊課程?
- 開啟 Stripe Dashboard → Developers → Webhooks,新增端點為 https://your-site.com/wp-json/course-flow/v1/webhook,選取事件為 checkout.session.completed。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Course Flow」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Course Flow is a free and lightweight WordPress plugin that lets you sell your online courses directly with Stripe Checkout — without the need for WooCommerce. It integrates seamlessly with Tutor LMS, LearnPress, and LearnDash to offer a simple and fast checkout experience for course creators.
If you’re tired of slow or complicated WooCommerce setups, Course Flow gives you a direct and conflict-free way to start selling your courses online.
No extra plugins. No conflicts. No slow checkouts. Just fast, secure payments with Stripe.
💡 Why course creators choose Course Flow

No WooCommerce required — avoids unnecessary complexity and plugin conflicts.
Fast setup — configure Stripe keys and add a shortcode to start accepting payments.
Direct Stripe Checkout — secure, hosted checkout handled entirely by Stripe.
Automatic course enrollment after successful payment.
Optional WordPress user account creation for new customers.
Fully customizable buttons — text, colors, and even image-based purchase buttons.
Lightweight architecture — minimal frontend and admin assets.
Translation-ready with included .pot file.

🧩 Key Features

Direct Stripe Checkout integration (no WooCommerce dependency).
Supports Tutor LMS, LearnPress, and LearnDash (requires one active LMS).
One-time payments via Stripe Checkout.
Automatic course enrollment after successful payment.
Optional automatic WordPress user account creation.
Secure Stripe webhook handling (checkout.session.completed).
Test mode and live mode support.
Shortcodes for easy setup:

[courseflow_buycourse id="123"]
[courseflow_course id="123"]
[courseflow_imagebuycourse id="123"]

Visual button customization (text, colors, hover effects, layout).
Image-based purchase buttons.
Admin course list with ready-to-copy shortcodes.
Secure REST API (course-flow/v1) with capability and nonce validation.
Optional plugin telemetry (disabled by default).
Fully translatable (.pot file included).

⚡ Performance & Security
Course Flow is built for speed. It loads only minimal scripts, uses secure REST API calls, and relies on Stripe’s own hosted checkout page for PCI compliance.
All webhook events are validated via checkout.session.completed, ensuring that course enrollments are always secure and verified.
Requirements

WordPress 6.7 or newer
PHP 7.4 or newer
One active LMS plugin:

Tutor LMS
LearnPress
LearnDash

Stripe account (Publishable Key, Secret Key, Webhook Secret)
HTTPS enabled

Configuring Stripe Webhooks
To enable automatic enrollment after payment:

Open Stripe Dashboard → Developers → Webhooks.
Add endpoint:
https://your-site.com/wp-json/course-flow/v1/webhook
Select event: checkout.session.completed
Copy the webhook secret and paste it into plugin settings.
Use the TEST CONNECTION button in admin to validate configuration.

Shortcodes

[courseflow_buycourse id="123"] — standard buy button
[courseflow_course id="123"] — alternative purchase button
[courseflow_imagebuycourse id="123"] — image-based buy button

REST API
Namespace: course-flow/v1

POST /create-checkout
POST /webhook
POST /test-connection (admin only)
POST /save-settings (admin only)

Protected endpoints validate user capabilities and nonces.
Admin Pages
Settings — Configuration of Stripe API keys, currency, success page, account creation behavior and optional plugin telemetry.
Courses — List of detected LMS courses with IDs and available purchase shortcodes.
Button Settings — Visual customization of purchase buttons.
Image Button Settings — Management of image-based purchase buttons.
Data Privacy
Course Flow includes an optional plugin telemetry feature.
When explicitly enabled by an administrator, the plugin may transmit limited, non-personal plugin metadata (such as site URL and plugin version) to the plugin author for diagnostic and compatibility purposes.
This feature is:
– Disabled by default
– Explicitly opt-in
– Does not collect personal or user-identifiable data
The plugin functions fully without enabling this option.
More information can be found in the author’s privacy policy:
https://dev.pawelborowiec.com/course-flow/privacy-policy.html
External Services
Stripe
Stripe is used to process payments via Stripe Checkout.

Stripe JavaScript library is loaded from https://js.stripe.com/v3/
Stripe API is used for checkout session creation and webhook handling.
Payment data is transmitted directly to Stripe during checkout.

Service Provider: Stripe, Inc.
Terms: https://stripe.com/legal
Privacy: https://stripe.com/privacy
Localization

Translation-ready with included .pot file.
Translation files should be placed in the /languages/ directory.
Default language: English.

Included Libraries

Stripe PHP SDK (MIT)
Select2 (MIT)
Bundled local fonts (OFL)

License
GPLv2 or later

延伸相關外掛

文章
Filter
Apply Filters
Mastodon