前言介紹
- 這款 WordPress 外掛「Minimal Stripe Wrapper」是 2025-03-11 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2025-12-20,距離現在已有 67 天。
- 外掛最低要求 WordPress 6.2 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
stripe | payment | donation | membership | credit card |
內容簡介
**總結:**
Minimal Stripe Wrapper (MSW) 是一個輕量且安全的WordPress外掛,旨在以最少的設置和最大的靈活性來優化Stripe付款流程。與複雜、功能繁多的付款外掛不同,MSW提供了一個低耗效益的解決方案,利用Stripe Checkout確保最高的安全性,同時保持網站的付款流程簡單高效。
**問題與答案:**
1. MSW的主要功能是什麼?
- 答:通過Stripe託管結帳進行單筆付款。
- 答:不在本地存儲信用卡或付款信息。
- 答:可在沙箱測試模式下使用Stripe測試。
- 答:可以自動增加額外費用以支付Stripe交易費。
- 答:可與已登錄用戶(例如會員網站)或未登錄用戶(例如捐款)一起使用。
- 答:在儀表板中記錄交易歷史以跟踪和交叉參照與Stripe的交易。
2. 有關安全性的部分是如何保證的?
- 答:使用Stripe託管表單。信用卡資料不會觸及您的服務器。
- 答:Stripe秘密金鑰以加密方式存儲。
- 答:使用WordPress REST API並進行相應的驗證檢查,另外還有Stripe驗證。
3. 外掛連接到了哪些外部服務?
- 答:這個外掛連接到Stripe API,以啟動Stripe結帳會話並接收Webhook響應。
- 答:您可以指定提供給Stripe的信息。
- 答:您必須提供的最低信息是付款金額。
- 答:您可以選擇包括用戶電子郵件、產品名稱和數量。
- 答:如果未提供電子郵件,Stripe將要求用戶輸入電子郵件。
4. 如何啟動Stripe付款?
- 答:您可以使用以下3種方法之一來啟動Stripe付款:
1. 通過選擇的可點擊元素(例如\<button>或\<a>)。
2. 通過此外掛提供的由短代碼生成的按鈕。
3. 通過操作掛接(action hook)。
5. 關於使用自定義按鈕的方法1是什麼?
- 答:適用於Gutenberg或您選擇的頁面構建器(例如Divi按鈕)。
- 答:只需將以下CSS類添加到您的元素中即可啟動。
原文外掛簡介
Minimal Stripe Wrapper (MSW) is a lightweight and secure WordPress plugin designed to streamline Stripe payments with minimal setup and maximum flexibility. Unlike complex, feature-heavy payment plugins, MSW provides a low-footprint solution that leverages Stripe Checkout, ensuring the highest level of security while keeping your site’s payment workflow simple and efficient.
Please visit the full Plugin Documentation page.
Features
Single payments via Stripe-hosted Checkout
No card or payment information are stored locally.
Can use Stripe Test mode for sandbox testing.
Can automatically add a surcharge to cover the Stripe transaction fee.
Will work with either logged in users (eg. a membership site) or not logged in users (eg. a donation)
Includes a shortcode Donate Form with variable amount.
Downloadable transactions history in the WP dashboard for tracking and cross-referencing transactions.
Security
Uses Stripe-hosted forms. No card data touches your server.
Rate-limiting for extra protection.
Stripe secret keys are stored encrypted.
Uses the WordPress REST API with corresponding validation checks in addition to Stripe validation.
External services
This plugin connects to the Stripe API in order to initiate a Stripe Checkout session and to receive a Webhook response.
You may specify what information is supplied to Stripe.
The minimum information you must supply is the payment amount.
You may optionally include a Users email, product name and quantity.
Where an email is not supplied, Stripe will require the user to enter an email.
See also the Stripe Consumer Terms of Service and the Stripe Privacy Policy
How it Works
You can initiate a Stripe payment with any of these methods:
The Gutenberg block element ‘Minimal Stripe Button’
By using any clickable element of your choice (eg. a
Method 1: A Gutenberg block element
Add to your page using the WordPress block editor.
Method 2: Use an existing clickable element
Add a css class to any clickable target element.
eg. Use the page builder of your choice (eg. A Divi Button).
class="mswr-stripe-payment"
Then add a filter hook to enter/modify your specific payment details.
For example:
add_filter( 'mswr_pre_stripe_checkout', function( $args ) {
// add payment details
$args[ 'amount' ] = $amount; // use the smallest unit of your currency. ie. $123.45 => '12345'
$args[ 'currency' ] = 'nzd'; // iso 4217 currency code
$args[ 'email' ] = [email protected]; // eg. wp_get_current_user()->user_email;
$args[ 'product' ] = 'Your Product/Service name'; // will appear on the Stripe Checkput page
$args[ 'user_meta' ] = 'Membership Renewal'; // user-defined tag that can help identify a transaction in the Stripe webhook callback
return $args;
});
Method 3: Using a shortcode-generated button
This method requires no php code. You can however, optionally add a php hook (as above) to modify the Stripe parameters and to perform extra actions on the Stripe webhook callback.
Example shortcode:
[mswr_stripe_button amount="1234" currency="usd" email="[email protected]" product="Sample Product" quantity="2" success_url="/payment_success" cancelled_url="/payment_cancelled"]
Method 4: WP hook
A developer method.
Use PHP from your code to fire a WordPress ‘action’ which initiates a Stripe Checkout session with the specified Stripe arguments
Action hook: mswr_initiate_stripe_payment
Example:
$args = [ 'amount' => '12345' ];
add_action( 'mswr_initiate_stripe_payment', $args );
…
Hooks available in Minimal Stripe Wrapper
1. mswr_initiate_stripe_payment
2. mswr_pre_stripe_checkout
3. mswr_{\$type}
4. mswr_shortcode_html
Method 5: Donate Form
Shortcode generated Donate Form where the user can select the amount to pay.
See the Plugin Documentation for a full description
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Minimal Stripe Wrapper」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.6 | 1.1.7 | 1.1.8 | trunk |
延伸相關外掛(你可能也想知道)
GiveWP – Donation Plugin and Fundraising Platform 》GiveWP 是為 WordPress 設計的最高評價、下載次數最多和支援最好的捐款外掛。不論您需要簡單的捐款按鈕或是針對線上捐款進行優化的強大捐款平台,GiveWP 都能...。Donations via PayPal 》此外掛會在 WordPress 中新增 PayPal 捐款的短代碼和側邊欄小工具。使用選項選單可以設定 PayPal ID 和一些其他可選設定。你可以選擇要使用哪個捐款按鈕,或...。
Accept Donations with PayPal & Stripe 》總覽, 這個外掛可以讓您在您的網站上收取 PayPal 捐款。, 觀看這個簡短的 1 分鐘影片,了解此外掛如何運作:, , 您可以將 PayPal 捐款按鈕放置在您希望收款的...。
Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More 》pliant in just a few clicks with Charitable. Your donors’ data is protected and encrypted at all times., Charitable is also flexible and extensible...。
Donorbox – Free Recurring Donation Plugin and Fundraising Platform 》Donorbox是一款強大且安全的WordPress捐款管理外掛程式。我們是唯一提供快速且功能豐富解決方案的WordPress捐款外掛程式,任何人都可以募集資金。, 如果你正...。Donation Platform for WooCommerce: Fundraising & Donation Management 》最快成長的捐贈系統,適用於您的慈善機構、非政府組織或個人籌款活動, 示範 | 文件 | 入門, Donation Platform for WooCommerce(WooCommerce 捐贈平台)發揮...。
Buy Me a Coffee – Button and Widget Plugin 》「Buy Me a Coffee」這個 WordPress 外掛讓你更輕鬆地從你的博客、網站、或是專案訪客接受捐助,並且鼓勵他們成為你的付費支持者。, 只需幾分鐘的時間設置外...。
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More 》Better Payment 可以讓您透過一個按鈕輕鬆地在 WordPress 站點上管理自己的付款結帳頁面,不會有任何麻煩。Better Payment 與 Elementor 完美整合,讓您可以...。
Paymattic – Secure, Simple Payment & Donation with Subscription Payments, Recurring Donations, Customer Management 》使用者指南 | 演示 | API, 想要在 WordPress 中接受簡單的付款和使用者輸入嗎?那麼 Paymattic 就是最適合您的外掛。, 利用 Stripe 結帳及內建的表單建立功能...。
Paytium: Mollie payment forms & donations 》ou can view the full list at Mollie., Mollie has an easy and straightforward setup process, and you can start accepting payments within 15 minutes....。
WP Crowdfunding 》WP Crowdfunding 是一個基於 WooCommerce 的外掛,可讓任何人使用 WordPress 內容管理系統創建群眾募資網站。它非常易於使用和管理。大多數基本的 WP Crowdfu...。
Order Tip for WooCommerce 》Order Tip for WooCommerce 是一款外掛,允許顧客為 WooCommerce 訂單添加小費或捐款。小費以 WooCommerce 費用的形式添加。, 它允許小費是訂單總額的百分比...。
Potent Donations for WooCommerce 》Donations for WooCommerce 外掛可讓您透過 WooCommerce 商店接受各種不同的捐贈金額。它添加了一個「捐贈」商品類型,供最終用戶自訂價格。, 如果您喜歡這個...。
Donation Thermometer 》簡易易用, 只需使用短碼 [thermometer raised=?? target=??],即可在任何文章、頁面或側邊欄上顯示傳統風格的追蹤溫度計。, 完全自訂, 可製作無限多個溫度計...。
FundEngine – Donation and Crowdfunding Platform 》WP 募款捐款外掛和群眾募資平台提供單一捐款和群眾募資方案。該外掛為任何人在 WordPress 上創建群眾募資和單一捐款站點提供了能力。, , 創建群眾募資網站:, ...。
