WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by thedoctorcoernel v1.1.0

SEPA QR-Code for Woocommerce

Adds a SEPA-QR Code for bank transfer payments (bacs) in the WooCommerce Thankyou page and Woocommerce emails. The QR-Code can be hooked into other pl …

SEPA QR-Code for Woocommerce

The facts

Rating
5★ from 1
Active installs
200+
Price
Free
Last updated
3 Aug 2023
Added
Oct 2022
Requires WP
5.0
Tested up to
WP 6.3.10
Requires PHP
7.0
Downloads
3,324

Our analysis

AI-assisted

The SEPA QR-Code for WooCommerce plugin allows you to add a SEPA-QR code for bank transfer payments on the WooCommerce Thank You page and in WooCommerce emails. This is particularly useful for merchants who want to facilitate bank transfers by providing customers with a QR code that can be scanned for payments.

The plugin generates QR codes locally without relying on external services or APIs. It can also be integrated with other plugins, such as those for PDF invoices, by using provided hooks in the code. This plugin is suitable for WooCommerce store owners looking to enhance their payment options.

Best for: WooCommerce store owners who want to offer bank transfer payment options.

What it does well

  • Generates SEPA QR codes for bank transfers
  • Integrates with WooCommerce Thank You page and emails
  • Locally generates QR codes without external APIs
  • Can be hooked into other plugins

Where it falls short

  • Limited documentation on features and usage
  • Requires PHP GD2 extension to function

Verdict

This plugin provides a straightforward solution for adding SEPA QR codes to WooCommerce, although it may require some technical knowledge for integration.

From the developer

thedoctorcoernel's own description of SEPA QR-Code for Woocommerce, lightly tidied.

Adds a SEPA-QR Code for bank transfer payments (bacs) in the WooCommerce Thankyou page and Woocommerce emails. The QR-Code can be hooked into other plugins.

Before you start

The plugin comes as is and free. However a real person has put real work into it. So if you use it please do s.th. good. Use your efforts, your time for beneficial projects or whatever!

Prerequisite

php GD2 extension must be installed as the QR-Code generator by fellwell15 requires this.

Hooking into other plugins

I use a plugin for PDF-invoices and packaging slips. Refer to this sample to hook the QR-Code into whatever you like:

/wp-content/themes/Your(Child)Theme/functions.php


/* QR-Code in invoices */
add_action( 'wpo_wcpdf_after_order_details', 'wpo_wcpdf_qr_code', 10, 2 );
function wpo_wcpdf_qr_code ($document_type, $order) {
    require_once WP_PLUGIN_DIR . '/mxp-sepa-qr-code-addon-for-woocommerce/muxp-sepaqr.php';
    $muxp_order = wc_get_order( $order);
    $order_id  = $order->get_id();
    if ( !empty($muxp_order->get_total()) && (float)$order->get_total() > 0 ) {
        echo '<h1>QR-Code for your online banking app<h1>';
        echo '<img class="muxp-bacs-qrcode" src="' . esc_attr(muxp_get_qrcode($order->get_total(), $order_id)) . '" alt="qr-code"></p>';
    } 
}

What happens in the backend:

  • the QR code generator creates the QR-code locally. There is no Google-API nor external server in use!
  • the QR code generator is from fellwell15
  • plugin registers a get-parameter (configurable, default mxp_qr) for testing purposes and, if desired, to create links to the cached QR codes.
  • the prefix mxp is used throghout the plugin to avoid collisions with other plugins and functions. mxp stands for www.musicalexperten.de (musical experts). Remember where you’ve seen it first! 😉

Testing and troubleshooting

Simple way

Install the plugin and order s.th. in your shop using BACS (direct bank transfer).

To test if the QR-Code generator is working

www.yourwebpage.de/?mxp_qr=something = creates a real QR with dummyvalues 11-11
Working example

To find an existing cached QR-Code, query for a valid md5 string == If it does not exist in cache or transients, a sad smiley will appear.

Read the full description on the official page →

Tagged as