Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter infiltrator

    (@infiltrator)

    After implementing and testing the setting, i found out that the tax settings are no good.
    even if i set taxes on, aply them to the fee en set the standard tax setting… taxes are not aplyd on.

    as a work around i integrated the taxes in the fixed fee and variable fee.

    Thread Starter infiltrator

    (@infiltrator)

    Hi,
    That solved it, i think…
    I was thinking in the right direction, but did not got that far as you 🙂
    The fee is now showing, even when i change payment method and so, it keeps calculating the correct fee.

    Thanks a lot !

    Thread Starter infiltrator

    (@infiltrator)

    I also mailed the molly support and got this code in return to test…

    function mollie_ideal_amount ($cost, $calculation_base, $current_gateway, $taxable, $include_taxes, $tax_class) {
        // iDeal costs 45 cents
        return 0.54;
    }
    add_filter("woocommerce_pay4pay_ideal_amount", 'mollie_ideal_amount' , 10 , 6);
    
    function mollie_creditcard_amount ($cost, $calculation_base, $current_gateway, $taxable, $include_taxes, $tax_class) {
        // CreditCard costs 25 cents + 2.8%
        return 0.3 + 0.028*$cost;
    }
    add_filter("woocommerce_pay4pay_creditcard_amount", 'mollie_creditcard_amount' , 10 , 6);
    
    function mollie_mistercash_amount ($cost, $calculation_base, $current_gateway, $taxable, $include_taxes, $tax_class) {
        // mistercash costs 25 cents + 2.8%
        return 0.3 + 0.018*$cost;
    }
    add_filter("woocommerce_pay4pay_mistercash_amount", 'mollie_mistercash_amount' , 10 , 6);

    But does not work…

    The problem they mention is that they have multiple payment options in 1 module and thats why all the fee adding plug-ins does not work with it.

    The molly plug-in has to be installed manualy by copying 1 dir into the plug-in dir of wordpress, then it should work.

Viewing 3 replies - 1 through 3 (of 3 total)