No results available
ResetSEPA QR-Code for Woocommerce (GDPR-compliant)
by https://github.com/Coernel82/SEPA-QR-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 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 ‘
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
To create a collection, simply click on the symbol on the desired plugin.
You can see this symbol when you move the mouse over the plugin.
Current Level
You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community