Title: SEPA QR-Code for Woocommerce (GDPR-compliant)
Author: thedoctorcoernel
Published: <strong>5 octobre 2022</strong>
Last modified: 3 août 2023

---

Recherche d’extensions

![](https://ps.w.org/mxp-sepa-qr-code-addon-for-woocommerce/assets/banner-772x250.
jpg?rev=2794367)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/mxp-sepa-qr-code-addon-for-woocommerce/assets/icon-256x256.
jpg?rev=2794367)

# SEPA QR-Code for Woocommerce (GDPR-compliant)

 Par [thedoctorcoernel](https://profiles.wordpress.org/thedoctorcoernel/)

[Télécharger](https://downloads.wordpress.org/plugin/mxp-sepa-qr-code-addon-for-woocommerce.1.1.0.zip)

 * [Détails](https://fr.wordpress.org/plugins/mxp-sepa-qr-code-addon-for-woocommerce/#description)
 * [Avis](https://fr.wordpress.org/plugins/mxp-sepa-qr-code-addon-for-woocommerce/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/mxp-sepa-qr-code-addon-for-woocommerce/#installation)
 * [Développement](https://fr.wordpress.org/plugins/mxp-sepa-qr-code-addon-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/)

## Description

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](https://github.com/fellwell5/bezahlcode/)
requires this.

### Hooking into other plugins

I use a plugin for [PDF-invoices and packaging slips](https://docs.wpovernight.com/home/woocommerce-pdf-invoices-packing-slips/pdf-template-action-hooks/).
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](https://github.com/fellwell5/bezahlcode/)
 * 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](https://www.musicalexperten.de/?mxp_qr=something)

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

www.yourwebpage.de/?mxp_qr=351436ef4b279e1811a6c68a2dd58b1b
 results in a sad smiley.
[Working example](https://www.musicalexperten.de/?mxp_qr=351436ef4b279e1811a6c68a2dd58b1b)

### Remarks

Storing the QR code in cache or transients is only needed if you want to use a link
instead of a picture inside the email. Details in the program code.

### Support

The program has been written by a professional programmer – however fully free of
charge and without detailed knowledge about WooCommerce. I try to assist you in 
the support forum or on GitHub the best I can but my knowledge is limited.

### Full integration in Woocommerce

I am more then happy if someone integrates the code into the Woocommerce core! The
topic is discussed here: https://github.com/woocommerce/woocommerce/issues/27661

## Captures d’écrans

[⌊the QR-Code gets added to the WooCommerce order email⌉⌊the QR-Code gets added 
to the WooCommerce order email⌉[

the QR-Code gets added to the WooCommerce order email

[⌊example how the qr-code is hooked into a pdf envoice⌉⌊example how the qr-code 
is hooked into a pdf envoice⌉[

example how the qr-code is hooked into a pdf envoice

## Installation

Nothing special: * Click install and activate

## FAQ

### I can’t see the QR-Code in a specific email client

This surely is due to the fact that some email clients won’t show Base64-encoded
images. Your help is appreciated! Have a look at https://github.com/Coernel82/SEPA-
QR-for-Woocommerce/issues/17
 Workaround: Hook it into your PDF-invoices! (see above!)

### What about privacy / GDPR

The plugin creates the QR-Code on your server and it does not use any external resources.

## Avis

![](https://secure.gravatar.com/avatar/406906a1110707528f390d5d27a9e88fa5875e042ff525d4c75c8ff478cbf940?
s=60&d=retro&r=g)

### 󠀁[Worked straight away](https://wordpress.org/support/topic/worked-straight-away-2/)󠁿

 [tortitudo](https://profiles.wordpress.org/tortitudo/) 20 novembre 2023

Worked straight away and I love the offline nature of this tool. But I learned that
in my country (Slovenia) we most commonly use a different kind of QR code for local
payments, so I can't use it.

 [ Lire l’avis ](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« SEPA QR-Code for Woocommerce (GDPR-compliant) » est un logiciel libre. Les personnes
suivantes ont contribué à cette extension.

Contributeurs

 *   [ thedoctorcoernel ](https://profiles.wordpress.org/thedoctorcoernel/)

“SEPA QR-Code for Woocommerce (GDPR-compliant)” a été traduit dans 2 locales. Remerciez
[l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/mxp-sepa-qr-code-addon-for-woocommerce/contributors)
pour ses contributions.

[Traduisez « SEPA QR-Code for Woocommerce (GDPR-compliant) » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/mxp-sepa-qr-code-addon-for-woocommerce)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/mxp-sepa-qr-code-addon-for-woocommerce/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/mxp-sepa-qr-code-addon-for-woocommerce/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/mxp-sepa-qr-code-addon-for-woocommerce/)
par [RSS](https://plugins.trac.wordpress.org/log/mxp-sepa-qr-code-addon-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.1.0

 * added loacalization
 * added prefix muxp to the bacs-qrcode css class for the QR code. If you have used.
   bacs-qrcode you have to change it to muxp-bacs-qrcode

#### 1.0.4

 * initial commit to the wordpress directory

## Méta

 *  Version **1.1.0**
 *  Dernière mise à jour **il y a 3 ans**
 *  Installations actives **200+**
 *  Version de WordPress ** 5.0 ou plus **
 *  Testé jusqu’à **6.3.14**
 *  Version de PHP ** 7.0 ou plus **
 *  Langues
 * [Dutch](https://nl.wordpress.org/plugins/mxp-sepa-qr-code-addon-for-woocommerce/),
   [English (US)](https://wordpress.org/plugins/mxp-sepa-qr-code-addon-for-woocommerce/),
   et [German](https://de.wordpress.org/plugins/mxp-sepa-qr-code-addon-for-woocommerce/).
 *  [Traduisez la dans votre langue](https://translate.wordpress.org/projects/wp-plugins/mxp-sepa-qr-code-addon-for-woocommerce)
 * Étiquettes
 * [bacs](https://fr.wordpress.org/plugins/tags/bacs/)[payment](https://fr.wordpress.org/plugins/tags/payment/)
   [qr code](https://fr.wordpress.org/plugins/tags/qr-code/)[woocommerce](https://fr.wordpress.org/plugins/tags/woocommerce/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/mxp-sepa-qr-code-addon-for-woocommerce/advanced/)

## Évaluations

 5 sur 5 étoiles.

 *  [  1 avis à 5 étoile     ](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/reviews/?filter=1)

[Votre avis](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/reviews/)

## Contributeurs

 *   [ thedoctorcoernel ](https://profiles.wordpress.org/thedoctorcoernel/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/mxp-sepa-qr-code-addon-for-woocommerce/)