• With this plugin I have two order numbers, the one I generate with $order = wc_get_order((int)$order_id); with my custom gateway and the one on my order list ??

    • This topic was modified 2 years, 10 months ago by rafamem.
Viewing 1 replies (of 1 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @rafamem,

    Thank you for sharing the information. We are extremely sorry for the inconvenience caused.

    It seems like the custom gateway plugin is using the default WC order_id instead of our sequential order number. If you like to make the custom gateway plugin compatible with our Sequential Order Numbers for WooCommerce, please make the below tweak.
    Instead of referencing $order->get_id() when fetching order data, use $order->get_order_number(). Try this out and let us know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘Double order number’ is closed to new replies.