PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Wrong currency in invoice

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

we use the plugin"Germanized" to generate invoices as PDF. Unfortunately the invoice shows the wrong currency (€), the correct currency would be CHF.

This is strange because in the order overview everything is listed correctly in CHF. Everywhere, except in the invoice.

The support of"Germanized" says the following:

*********************************************************************

this might have to do with how the logic of the multi-currency plugin works. Presumably the plugin uses filters for the output of a price via the function wc_price() which Germanized also uses here for the output of the invoice amount on the order page. However, the PDF is created statically, i.e. at a specific time, fixed and then saved and not subsequently adjusted. The decisive factor is which currency was specifically saved for the invoice. This currency is taken from the order at the time of synchronization and then stored in the invoice data. We use the order's WC_Order::get_currency() method provided by Woo for this.

If in doubt, you could also look at the currency of the respective invoice in the DB by finding the ID of the invoice in the storeabill_documents table and then filtering for this document_id in the storeabill_documentmeta table. There should be an entry _currency there.

The invoice is partially generated asychronously via Woo Action Scheduler. Possibly the multi-currency plugin has problems with this (but that would indicate a rather poor implementation) - but that's just a guess. It would be crucial that the multi-currency plugin filters the currency of a concrete order fix, i.e. at any time (not only in the checkout, in the admin area or similar). Maybe you should test another plugin.

***********************************************************************

We like your plugin very much, but we need a solution for this problem. We hope you can provide it in a timely manner!

Thanks a lot in advance,
with many kind regards,
Timo

Hello Timo

Please  read  this - https://currency-switcher.com/woocs-labs - As described in this article, we can make a free adaptation of a third-party plugin (multi-currency compatibility). you  can  drop me  wp-admin+FTP access to  your  test  site - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134615.png

I'll add it to the adaptation queue

note that this plugin works fine with multicurrency - https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/