前言介紹
- 這款 WordPress 外掛「Minimal Stripe Wrapper」是 2025-03-11 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-03-31,距離現在已有 34 天。
- 外掛最低要求 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. 通過選擇的可點擊元素(例如\
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 a 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: Action 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' ];
do_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 | trunk |
延伸相關外掛(你可能也想知道)
WooPayments: Integrated WooCommerce Payments 》為 WooCommere 商店量身打造的付款欄位外掛,操作簡單、無月費!, 安全接受主要信用卡和借記卡,並允許客戶在不離開您的 WooCommerce 商店的情況下直接付款。...。
WooCommerce Stripe Payment Gateway 》使用 Stripe 付款網關的 WooCommerce 外掛,直接在您的商店上接受 Visa、MasterCard、American Express、Discover、JCB、Diners Club、SEPA、Sofort、iDEAL、...。
WooCommerce PayPal Payments 》PayPal 最新、功能最完備的付款處理解決方案。除了接受 PayPal 獨有的付款方式,也可接受信用卡/借記卡和本地付款方式。開啟 PayPal 付款選項或處理完整的付...。
Stripe Payments For WooCommerce by Checkout Plugins 》使用Stripe for WooCommerce,您可以在商店中接受信用卡付款。, , 結帳過程越順暢,銷售機會就越高,提供多種付款方式是提高銷售的可靠方法。這就是Stripe fo...。
Payment Plugins for Stripe WooCommerce 》本外掛可免費提供信用卡、Google Pay、ApplePay、Afterpay、Affirm、ACH、Klarna、iDEAL 等多種付款方式。, Stripe 官方合作夥伴, Payment Plugins 為 Stripe...。
Mollie Payments for WooCommerce 》, 透過 Mollie 的強大外掛,您可以在 WooCommerce 中快速整合所有主要的付款方式,不論您在何處需要它們。只需將它們直接丟入您的 WooCommerce 網店中,Molli...。
WooCommerce Square 》透過這個 WordPress 外掛,您可以在 WooCommerce 和 Square POS 之間同步庫存和商品資料,並安全地透過 Square 付款網關接受支付。, 輕鬆地在您的商店直接收...。
WooCommerce Payfast Gateway 》 WooCommerce 的 Payfast 擴充套件可讓您透過南非最受歡迎的付款閘道之一,接受包括訂閱、押金和預訂在內的付款。, 為什麼選擇 Payfast?, Payfast 給予您的...。
PayU GPO Payment for WooCommerce 》PayU 購物車外掛程式,適用於 WooCommerce, 此外掛程式提供以下付款方式:, , PayU – 一般模式 – 付款人將被導向至 PayU 的托管付款頁面,可以選擇任何在您的...。
Asaas Gateway for WooCommerce 》在您的 WooCommerce 商店中使用 Asaas 作為付款方式。, 此外掛程式是使用 Asaas API v3 實作而成。結帳機制是完全透明的。顧客不需要離開您的商店以完成訂單...。
Stripe Payment Plugin for WooCommerce 》h3>介紹, Stripe Payment Plugin for WooCommerce 可讓您透過 Stripe 付款網關在您的網站上接受信用卡/借記卡 (Mastercard、Visa、American Express、Discove...。
Payment Gateway Plugin for PayPal WooCommerce 》介紹, 使用 WebToffee WooCommerce PayPal 付款通道外掛可以將 PayPal 整合進 WooCommerce 中,以接受透過安全的 PayPal 付款通道的付款。您可以在 WooCommer...。
Contact Form 7 – PayPal & Stripe Add-on 》概述, 這個PayPal外掛與Contact Form 7完美結合,並融入了PayPal和Stripe。, 官方的PayPal和Stripe合作夥伴。, 觀看下面這個短片,了解外掛作業方式:, , 查...。
iyzico for WooCommerce 》, , 這是一個由iyzico整合團隊開發的WooCommerce模組。, , , 在整合之後,您將能夠自動使用iyzico(iyzico的替代支付方式)進行付款。, , , 您可以輕鬆地將iy...。
Viva Wallet Smart Checkout for your WooCommerce store 》多種付款方式, 接受多種付款方式,包括:, 信用卡方案:, , Visa, Mastercard, American Express, Maestro, Bancontact, JCB, Diners Club International, Di...。