WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - APG Weight and Postcode/State/Country Shipping
[resolved] Payment gateway bug (13 posts)

  1. miso00
    Member
    Posted 5 months ago #

    Hi,
    I am testing your plugin and I found a bug. When I chose bank transfer as only one payment gateway for DefaultAPGShipping it affects all other shipping classes (default woocommerce classes and aditional APG classes too). So, it gives only bank transfer choice during checkout, however COD is enabled too. If I set ALL ENABLED PAYMENTS for DefaultAPGShipping and bank transfer only for aditional APG class it has no effect(all payment gateways are shown during checkout).
    Please help. Thank you.
    Btw. great plugin.

    https://wordpress.org/plugins/woocommerce-apg-weight-and-postcodestatecountry-shipping/

  2. Chirag Vora
    Member
    Posted 5 months ago #

    I see... I also observed some strange behavior with payments. It does not obey the setup rules.

  3. Chirag Vora
    Member
    Posted 5 months ago #

    @miso00 right on! I was trying to figure out the problem but gave up. What you described is exactly what is happening. The default APG shipping payment method become the store wide default for all shipping methods.

  4. miso00
    Member
    Posted 5 months ago #

    Exactly.

  5. Chirag Vora
    Member
    Posted 5 months ago #

    I've asked Emilio to look into this. He's going on holidays this week. Hope he sees this before going :P

  6. Art Project Group
    Member
    Plugin Author

    Posted 5 months ago #

    We're going to see what happens today, before going on holidays.

    As soon as possible, we'll update the plugin.

  7. Chirag Vora
    Member
    Posted 5 months ago #

    :D Good luck!

  8. Art Project Group
    Member
    Plugin Author

    Posted 5 months ago #

    Fixed, along this morning we'll publish the update.

  9. Chirag Vora
    Member
    Posted 5 months ago #

    Thanks. I even observed checkout process getting slow. I think it is very important how we setup the state/postcode groups.

    For example if your store has more light weight products (below 200g or 200kg) then

    200|100|P1
    200|110|P2
    500|200|P1
    500|220|P2

    maybe more efficient than

    200|100|P1
    500|200|P1
    200|110|P2
    500|220|P2

    This effect would amplify if you have more groups. I didn't dig much into the code but this is my intuition.

  10. Art Project Group
    Member
    Plugin Author

    Posted 5 months ago #

    The plugin get the rate by group (from postal code - P groups - to country - C groups -), not by weights.

    When it get an available rate, it's apply to the shipping cost for calculating the order weight.

    Probably, the slowing probably was generated by new WooCommerce core :-(.

  11. miso00
    Member
    Posted 5 months ago #

    Thank you sooooo much. The default APG shipping payment gateway doesn't affect payment gateways of the other shipping methods already.
    But there is still one little problem. If you choose only one payment method for aditional shipping class it shows all enabled payment methods during checkout. So, payment gateways doesn't work for aditional shipping class.

  12. Art Project Group
    Member
    Plugin Author

    Posted 5 months ago #

    You're right. We're sorry.

    Fixed on the version 1.3.6.

  13. miso00
    Member
    Posted 5 months ago #

    You have nothing to be sorry for. Thanks much. You deserve donation from all users.

Reply

You must log in to post.

About this Plugin

About this Topic