• Resolved atakan1

    (@atakan1)


    Hello,
    I noticed that the value ID is not the order number. With the value in ID I find nothing in WooCommerce.

    It seems that the ID is stored somewhere else.
    It is stored in “number” and in “meta_data” under “value”.

    Order number is 26283

    "data": {
            "id": 1023238,
            "parent_id": 0,
            "status": "completed",
            "currency": "EUR",
            "version": "6.8.2",
    
            "billing": {
                
            },
            "shipping": {
                
            },
            "payment_method": "mollie_wc_gateway_paypal",
            "payment_method_title": "PayPal",
            "transaction_id": "*****",
            "customer_ip_address": "*****",
            "customer_user_agent": "*****",
            "created_via": "checkout",
            "customer_note": "",
            "date_completed": "2022-09-05T11:54:53",
            "date_paid": "2022-09-05T09:06:35",
            "cart_hash": "",
            "number": "26283",
            "meta_data": [
                {
                    "id": 33464097,
                    "key": "_order_number",
                    "value": "26283"
                },
                {

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The ‘ID’ and ‘number’ field have the same value on mine.

    But I don’t have an ‘_order_number’ entry in the meta_data.

    Are you using a plugin to change the default order number behaviour – give you custom or sequential numbers for example?

    Thread Starter atakan1

    (@atakan1)

    @seank123
    yes i have a multisite and there is the option through the plugin woomultistore “Use sequential order numbers across the multisite environment”.

    Thread Starter atakan1

    (@atakan1)

    @seank123 thanks it was because of the plugin

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘api sends wrong order number’ is closed to new replies.