• Resolved woomigrating

    (@woomigrating)


    Hi,

    Been using your plugin for years without any problems. However now we changed payment solution and the new solution causes issues with the custom order numbers.

    Problem is if I deactivate your plugin all previous order would be changed to the standard order id which would be confusing for customers and us when referring to order numbers when dealing with warranties etc.

    I would like to stop your plugin from using custom order numbers for new orders, but keep the custom order numbers for current orders. Is this possible?

    The real order id’s is on like 80’000 something, while the custom numbers is only on like 50’000, so there shouldn’t be a problem with numbers being used twice.

    Hope you can help!?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support kenil802

    (@kenil802)

    Hi @woomigrating,

    Could you please tell us what issue are you facing with the payment gateway? It would be great if you can share a screenshot of the same.

    Also, regarding custom order numbers not used for the new orders, I am afraid that currently, it is not possible from our plugin to achieve your requirements.

    Regards,
    Kenil Shah

    Thread Starter woomigrating

    (@woomigrating)

    To be more specific, for our payment gateway (Klarna Checkout) there is a paid add-on feature (Klarna Shipping Connector) which automatically send order info and creates shipments in our TMS (Unifaun). This order info is sent with the standard order_id instead of the Custom Order no.

    Since my proposed idea will not work, maybe you can come up with another solution?

    https://docs.krokedil.com/article/312-krokedil-shipping-connector

    Thread Starter woomigrating

    (@woomigrating)

    Since this issue is the only thing that prevents us from activating our new payment/TMS solution, I’m just wondering if you are working on trying to figure out a solution for this, or if I should look elsewhere for a solution?

    • This reply was modified 3 years, 10 months ago by woomigrating.
    Thread Starter woomigrating

    (@woomigrating)

    I took a look in your code now and I actually found a way to achieve what I wanted.

    In includes/class-alg-wc-custom-order-numbers-core.php

    I changed the 3 instances of
    update_post_meta( $order_id, ‘_alg_wc_custom_order_number’, $current_order_number );
    to
    update_post_meta( $order_id, ‘_alg_wc_custom_order_number’, $order_id);

    Tested and it seem to work fine. Just have to remember to make this file change if I update your plugin.

    Plugin Support kenil802

    (@kenil802)

    Hi @woomigrating,

    Apologies for the delay in response.

    I am glad to hear that you found the fix for the issue.

    Do let us know if you need any further help from us.

    Regards,
    Kenil Shah

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stop using custom order numbers for new orders only’ is closed to new replies.