Support » Plugin: Custom Order Numbers for WooCommerce » Different order number in payment gateway

  • Resolved ezeelo2


    So i installed and configured this plugin
    backend products section shows the order id i wanted which is the 8000 to 8200
    but in the database the order_id is 420000 it doesnt display the backend number to the database number

    so my payment gateway provide said its reading the database number instead of the backend number i put

Viewing 1 replies (of 1 total)
  • Hi @ezeelo2,

    In Custom Order Status Lite/PRO plugin, in the Database, we do not change the original order id created by the WooCommerce because that order id is used for many core functions and also by multiple plugins and themes, so what you will have to do is, you will have to contact to support team of the Payment Gateway plugin and they will have to make the changes where Order ID is been fetched and have to use the below code for CON instead of the code used for Order ID:

    $custom_order_number = $order->get_order_number(); //where $order is an order object

    Do let me know if you have any questions.

    Chetna Bhutka

Viewing 1 replies (of 1 total)
  • The topic ‘Different order number in payment gateway’ is closed to new replies.