• Resolved donateikis

    (@donateikis)


    Hi there.
    Im using Custom Order Numbers for WooCommerce and all looks fine, but email marketing Omnisend and payment gateway Paysera use woocomm default order numbers instead of CON.
    Customers getting confused when seeing different order details in their emails and bank acc statements
    Any solutions?

Viewing 1 replies (of 1 total)
  • Hi @donateikis

    Appologies for the delayed response.

    Regarding your query where the custom order number is not been used and instead of that original WooCommerce Order ID is been used in the two plugins: email marketing Omnisend and payment gateway Paysera, it needs to make the changes in that two plugins.

    Below is the code which is used to fetch the custom order number, so in both the plugins instead of fetching the Original WooCommerce order ID they need to use this code for fetching the custom order number, after using this code you will be able to get the custom order number instead of the WooCommerce order ID.

    Code:

    $order = wc_get_order( $original_order_number );
    $order_id = $order->get_order_number(); // where $order is an object of the Order.

    Do let us know if you have any thoughts.

    Regards,
    Shasvat shah.

Viewing 1 replies (of 1 total)
  • The topic ‘Omnisend and payment gateway not using CON order numbers’ is closed to new replies.