[WordPress] 外掛分享: Redlight Manual Payments for Swish

首頁 › 外掛目錄 › Redlight Manual Payments for Swish
WordPress 外掛 Redlight Manual Payments for Swish 的封面圖片
全新外掛
安裝啟用
—
尚無評分
9 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 8.1+ v4.0.4 上架:2026-11-13

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.0.4) 或搜尋安裝

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

原文外掛簡介

Adds a manual Swish payment option to WooCommerce. This is not an automated Swish Handel integration. The merchant must verify payments and update order status manually.
The plugin supports both the traditional checkout and WooCommerce Blocks checkout, and displays manual payment instructions on the order confirmation page and in order emails. Orders are left on hold for manual payment verification. No Redlight license or subscription is required.
External services
When QR code display is enabled and an order confirmation page is displayed, the plugin sends an HTTPS POST request to Swish QR Generator at https://mpc.getswish.net/qrg-swish/api/v1/prefilled. The request contains the merchant Swish payment number, the order total, the order reference in the payment message, and the QR code editing/display options. Swish returns a PNG image. This request does not need a Redlight account.
The plugin also creates a link to https://app.swish.nu/1/p/sw/ with merchant Swish number, order amount, currency and order reference in the URL. This opens the Swish app when the customer follows the link. These services are provided by Swish, not Redlight Media. Information and applicable conditions: https://www.swish.nu/. Privacy information: https://www.swish.nu/privacy-and-service-terms.
Swish is a third-party payment service and requires a suitable Swish agreement with the merchant’s bank. See https://www.swish.nu/ for service details and applicable conditions.
Source code and building
The human-readable source for the WooCommerce Blocks JavaScript is included in src/index.js.
The compiled file assets/js/swish-checkout-block.js is built from that source using the WordPress scripts tooling (webpack), with WooCommerce Blocks packages treated as externals. The original source is shipped at src/index.js and the build configuration at webpack.config.js.
Development workflow: install Node.js, run npm install and npm run build. The build script uses wp-scripts build src/index.js –output-path=assets/js –output-filename=swish-checkout-block.js. The webpack.config.js maps WooCommerce Blocks packages to their runtime globals.
Trademark notice
Redlight Media AB is the independent publisher and maintainer. Swish is a trademark of its respective owner. This plugin is intended to work with the Swish payment service and is not presented as an official Swish product.

延伸相關外掛

文章
Filter
Mastodon