
內容簡介
總結:Donation QR Block 是一個提供 EPC/GiroCode QR 碼的 Gutenberg 區塊,用於接受 SEPA 銀行捐款。使用銀行應用程式掃描時,QR 碼會自動填入所有轉帳詳細資訊(收款人、IBAN、BIC、參考),方便支持者捐款。
問題與答案:
1. Donation QR Block 是用於什麼目的的 WordPress 外掛?
- 答:用於在 WordPress 網站上透過 Gutenberg 區塊展示 EPC/GiroCode QR 碼,以便接受 SEPA 銀行捐款。
2. 什麼是 EPC QR 碼?在哪些國家被支援?
- 答:EPC QR 碼是用於編碼 SEPA 提款資料的標準,德國稱其為「GiroCode」。支援包括德國、奧地利、比利時、荷蘭、法國、西班牙、義大利在內的 36 個 SEPA 國家。
3. Donation QR Block 是否會保護用戶隱私?
- 答:是的,這個外掛不會收集、存儲或傳遞任何個人數據,QR 碼生成完全在用戶伺服器和瀏覽器上進行,不會有外部 API 呼叫。
外掛標籤
開發者團隊
原文外掛簡介
Donation QR Block adds a Gutenberg block that displays an EPC/GiroCode QR code for accepting SEPA bank donations. When scanned with a banking app, the QR code pre-fills all transfer details (recipient, IBAN, BIC, reference) – making it easy for supporters to donate.
Features
Native Gutenberg block – No shortcodes, works seamlessly with the block editor
Live preview – QR code updates in real-time as you edit bank details
Fully customizable – Edit recipient name, bank, IBAN, BIC, amount, and payment reference
No external services – QR codes are generated locally, your bank details never leave your server
Privacy-friendly – No tracking, no API calls, no external dependencies
Customizable appearance – Change background color to match your theme
Graceful fallback – Shows bank details even if QR generation is unavailable
What is an EPC QR Code?
The EPC QR code (European Payments Council Quick Response Code) is a standard for encoding SEPA credit transfer data. In Germany, it’s known as “GiroCode”. When scanned with a compatible banking app, it automatically fills in all payment details, reducing errors and making donations effortless.
Supported in 36 SEPA countries including: Germany, Austria, Belgium, Netherlands, France, Spain, Italy, and more.
Use Cases
Non-profit organizations accepting donations
Churches and religious organizations
Sports clubs and associations
Crowdfunding campaigns
Event organizers collecting fees
Any organization accepting SEPA bank transfers
Source Code & Development
The full source code for this plugin is available on GitHub:
https://github.com/remotedots/donation-qr-block
The /build directory contains compiled JavaScript and CSS assets generated from source files in the /src directory using @wordpress/scripts.
Building from Source
Clone the repository: git clone https://github.com/remotedots/donation-qr-block.git
Install dependencies: npm install
Build assets: npm run build
Install PHP dependencies: composer install --no-dev
Source Files
/src/index.js – Block registration
/src/edit.js – Editor component (React)
/src/editor.scss – Editor styles
/src/style.scss – Frontend styles
/src/block.json – Block metadata
Privacy Policy
This plugin does not collect, store, or transmit any personal data. All QR code generation happens locally on your server and in users’ browsers. No external API calls are made.
Disclaimer
This plugin is provided as-is without any warranty. The author is not responsible for any financial losses, incorrect transfers, or other damages resulting from the use of this plugin. Users are solely responsible for verifying that all bank details (IBAN, BIC, recipient name, amount) are correct before publishing. Always test QR codes with your banking app before making them publicly available.
