• Resolved Efs

    (@stevendigital)


    Hello,

    I came across a strange issue and i try to figure out a workout.

    I use another plugin to make the payment methods to appear when the user chooses a shipping method. So based on the shipping method the correct shipping method appears.

    So when i choose for the first time the cash on delivery method, the fee is applied correctly, But when i choose another shipping method and go back to this payment method, then the fee is not displayed or added in the cart’s sub-total at all.

    Woocommerce and wordpress is on the latest version.

    Is there any solution about this matter?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Efs

    (@stevendigital)

    Update: Can this be a Javascript conflict with the other plugin? I contacted the author of the other plugin and he informed me that his plugin can not affect 3rd party fee plugins in any case. So is it possible that the Javascript which is responsible to display the extra fee, is not loaded properly if i choose another shipping method ?

    Is it possible to check or inform me how it adds the fee in the table and if there is any logic related to the selected shipping method ?

    Kind Regards

    Plugin Author FullStack-ing

    (@fullstackhouse)

    Hi there,

    So if you disable the other plugin our plugin works as expected ?

    Thread Starter Efs

    (@stevendigital)

    As i tested it again, yes. The problem is that if i connect the shipping method with the payment method, the fee is applied correctly only on the first call.

    Plugin Author FullStack-ing

    (@fullstackhouse)

    Hi again,

    I contacted the author of the other plugin and he informed me that his plugin can not affect 3rd party fee plugins in any case.

    This is not accurate since both plugins interfering with wc_payment_gateways.

    You can toggle cod visibility by enabling it per shipping method in our plugin ,without any other.

    Is that your goal ?

    Thread Starter Efs

    (@stevendigital)

    Yes i tried to toggle it in specific shipping method. But then the fee is not applied in the correct shipping method at all.

    To be more specific:
    1) In the COD settings page -> In the field “Enable for shipping methods”, i choose ” For any flexible shipping method”.
    2) I then go down to the field “Enable on specific shipping methods of zones”. In this field i can not set any values. I saw the description but still can’t find that option in WooCommerce settings.
    3)After i have done the steps above then the COD method is never applied, and prompts a message that says “Sorry, there seems to be no payment method available for your state. Please contact us if you need help or wish to make alternative arrangements.”
    The address is valid with valid numbers and the Rest.
    So i don’t know why this happens.

    Also to point out that if i choose in the step 1 to leave the field empty, i can then have the fee applied correctly but only in the first load, or pick.

    Plugin Author FullStack-ing

    (@fullstackhouse)

    Hi again,

    You can’t use our plugin with the other plugin in parallel. The reason is like I told you before, they both use the WC_Payment_Gateways API.

    Please disable the other plugin and in our setting page
    – Leave “Enable for shipping methods” empty
    – Add your restrictions on “Disable on specific shipping methods of zones” setting

    Best Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fee is not applied correctly.’ is closed to new replies.