vyskoczilova / woocommerce-payforpayment-old

Setup individual charges for each payment method in woocommerce.
19 stars 15 forks source link

Round Payment Fees #32

Closed michelhonold closed 9 years ago

michelhonold commented 9 years ago

Hi,

I think it would be a nice feature to be able to round payment fees up to have looking prices. Options could be to rund on 1/100 (= like it happens now), 1/10 (on the next 10 cents) or 1 (on the next 1 $) of the currency.

mcguffin commented 9 years ago

HI, thanks for the suggestion. I don't think rounded would be a common use case, and so I don't really feel like complicating the user interface with even more options. In my opinion it would be pretty unfair to your customers, when let's say 4.01 $ is rounded up to 5 $ (almost 20% more!), and I would think twice before buying in such a shop.

If you really desire round up payment fees, you can do so using the woocommercepay4pay{$current_gateway_id}_amount filter.