• Resolved e dev

    (@efishinsea)


    Hi. we are using your plugin alongside of the WC Product Add-On plugin (https://woocommerce.com/products/product-add-ons/?aff=13200) to add donations to our site. The add-on plugin is used for a few things, but primarily, we give a way for customers (donors) to add a 3% fee to their cart total to offset the credit charges.

    The amounts charged in the transaction are all 100% correct, but the amount displayed to the user in the LABELS, specifically when your plugin is part of the process, are wrong. If we disable your plugin, the problem goes away, so we have narrowed this down to here.

    The problem we are having is that when we use your plugin, the message in the cart or email that normally says: “Card Processing Fee (xxx)” where ‘xxx’ is 3% of whatever the amount is, comes back as “Card Processing Fee ($3.00)” regardless of what the total amount is.

    So, without your plugin in use, a donation/product for $10 would/should show “Card Processing Fee ($.30)” and a donation/product for $50 should show “Card Processing Fee ($1.50)” etc. Once we activate your plugin and purchase the product a donation, it comes back as “Card Processing Fee ($3.00)” no matter what the amount.

    It seems to me that this value in the () that should be a calculable integer is maybe being treated as a string. I tested this by changing our add-on fee to 4% and sure enough, the labels came through as ($4.00).

    I know you would have to set up the Product Add-on plugin to test this, but wanted to see what you thought and recommend. We need to get this fixed so customers aren’t bothered by incorrect data on their emails and checkout screens.

    Thanks for your help.

    • This topic was modified 4 years, 10 months ago by e dev.
Viewing 1 replies (of 1 total)
  • Hi @efishinsea,
    Thank you for reporting this bug to us. We will try to fix it as soon as possible.

    • This reply was modified 4 years, 8 months ago by P@v.
Viewing 1 replies (of 1 total)
  • The topic ‘when using plugin, product add-on amount displayed incorrectly’ is closed to new replies.