Linux 软件免费装
Banner图

Donation QR Block

开发者 remotedots
更新时间 2026年1月30日 08:43
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

donation qr code sepa bank transfer girocode

下载

1.0.0

详情介绍:

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 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

安装:

  1. Upload the donation-qr-block folder to /wp-content/plugins/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Edit any page or post with the block editor
  4. Add the "Donation QR Code" block
  5. Configure your bank details in the block sidebar
Requirements Note: Without the QR code library, the block will display bank details only (no QR code). The editor preview always shows the QR code.

屏幕截图:

  • Block settings panel with bank details configuration
  • Frontend display of the donation QR code

升级注意事项:

1.0.0 Initial release of Donation QR Block.

常见问题:

Which banking apps support EPC QR codes?

Most European banking apps support EPC/GiroCode scanning, including:

  • Sparkasse
  • Volksbank
  • Deutsche Bank
  • ING
  • N26
  • Revolut
  • And many more...

Is my bank data sent to external servers?

No. All QR codes are generated locally - in your browser (editor) and on your server (frontend). Your bank details never leave your infrastructure.

Can I customize the appearance?

Yes. You can change the background color via the block settings. For further customization, you can add custom CSS targeting the .donation-qr-block class.

Does it work without JavaScript?

Yes. The QR code is rendered server-side as a static image, so it works even if visitors have JavaScript disabled.

What if the QR code doesn't appear on the frontend?

The QR code requires the endroid/qr-code PHP library. Install it via Composer: composer require endroid/qr-code Without this library, the block displays bank details only. The editor preview always works regardless.

Can I set a default donation amount?

Yes. You can set a default amount in EUR via the block settings. The default is 5 EUR. Set it to 0 if you want donors to choose their own amount.

更新日志:

1.0.0