issue with give-donation-upsells-woocommerce decimal handling
-
Hi,
It seems that the give-donation-upsells-woocommerce add-on is incorrectly using the wp_give_formmeta._give_custom_amount_range_minimum and wp_give_formmeta._give_custom_amount_range_maximum fields.
On my website, these settings are as follows (default settings AFAIK):
_give_custom_amount_range_minimum == 1.000000 _give_custom_amount_range_maximum == 999999.99000000
Yet on the checkout page of my website, the ‘Donation Amount’ box outputs the following error messages:
The maximum donation amount is €99.999.999,00 (and this message appears as soon as an amount above 99.9999 is entered).
The minimum donation amount is €100,00 (and this message appears as soon as an amount less than 100 is entered).Installed version is 1.1.6, which introduced “support for various currency formats, such as commas for decimal separators and periods for thousands separators (popular in Europe)”. I am in fact using euros as a currency on the website where I am having issues.
I hope this message can somehow make it to the developer.
Best,
- The topic ‘issue with give-donation-upsells-woocommerce decimal handling’ is closed to new replies.