wrong order status update
-
Hello Team, hope all well at your place.
I have recently started encoutering an issue,
as i get new orders it shows in processing
same order gets sync in shiprocket (courier partner)
as i process order to ready to ship from processing in shiprocket
order status in woocomerce dashboard turn pending payment and cancelled instead of completed.
————
I got it check from shiprocket and they told that there is some issue at woocomerce backed and they sent the following info –
please inform seller that when we push status “Ready to Ship” to woocommerce the shipment status changes to “pending” in woocommerce panel. this is because seller has not mapped status “Ready to Ship” in woocommerce backend that is why default status that is “pending” getting updated in woocommerce. please ask seller to check with his developer and resolve this. Attached request and response for the reference
Requst : curl --location --request PUT 'https://brandhindu.com/wc-api/v3/orders/4176?consumer_key=xxxxx&consumer_secret=xxxxxx' \ --header 'Content-Type: application/json' \ --data-raw '{ "order": { "status": "Ready to Ship", "awb": "", "track_url": "" } }' Response: { "order": { "id": 4176, "order_number": "4176", "order_key": "wc_order_wvcceGfj63bA7", "created_at": "2022-04-19T02:47:00Z", "updated_at": "2022-05-11T06:29:30Z", "completed_at": "2022-05-07T16:41:35Z", "status": "pending", "currency": "INR", "total": "998.00", "subtotal": "921.88", "total_line_items_quantity": 2, "total_tax": "76.12", "total_shipping": "0.00", "cart_tax": "76.12", "shipping_tax": "0.00", "total_discount": "0.00", "shipping_methods": "Free shipping", "payment_details": { "method_id": "cod", "method_title": "Cash on delivery", "paid": true }, "billing_address": { "first_name": "xxx", "last_name": "xxx", "company": "", "address_1": "xxx", "address_2": "xxxxl", "city": "Shamshabad", "state": "UP", "postcode": "209503", "country": "IN", "email": "[email protected]", "phone": "xxxx" }, "shipping_address": { "first_name": "xx", "last_name": "xx", "company": "", "address_1": "xxx", "address_2": "xxxx", "city": "Shamshabad", "state": "UP", "postcode": "209503", "country": "IN" }, "note": "", "customer_ip": "xx.xx.xx.xx", "customer_user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36", "customer_id": 43, "view_order_url": "https://brandhindu.com/my-account/view-order/xxxx/", "line_items": [ { "id": 974, "subtotal": "499.00", "subtotal_tax": "0.00", "total": "499.00", "total_tax": "0.00", "price": "499.00", "quantity": 1, "tax_class": "", "name": "Aatmadipo bhava Round neck Unisex t-shirt - Black, M", "product_id": 1218, "sku": "", "meta": [ { "key": "pa_color", "value": "black", "label": "Color" }, { "key": "pa_size", "value": "m", "label": "Size" } ] }, { "id": 975, "subtotal": "422.88", "subtotal_tax": "76.12", "total": "422.88", "total_tax": "76.12", "price": "422.88", "quantity": 1, "tax_class": "", "name": "Sanatani Print T-shirt - hindu orange", "product_id": 2754, "sku": "", "meta": [ { "key": "pa_color", "value": "orange", "label": "Color" } ] } ], "shipping_lines": [ { "id": 976, "method_id": "free_shipping", "method_title": "Free shipping", "total": "0.00" } ], "tax_lines": [ { "id": 977, "rate_id": 2, "code": "IN-GST-1", "title": "GST", "total": "76.12", "compound": false } ], "fee_lines": [], "coupon_lines": [], "customer": { "id": 43, "created_at": "2021-12-06T13:01:20Z", "last_update": "2022-05-08T07:02:03Z", "email": "[email protected]", "first_name": "BRAND", "last_name": "HINDU", "username": "xxxxxxxx", "role": "administrator", "last_order_id": 4177, "last_order_date": "2022-04-19T02:51:44Z", "orders_count": 2, "total_spent": "998.00", "avatar_url": "https://secure.gravatar.com/avatar/xxxxxxxxx?s=96&d=mm&r=g", "billing_address": { "first_name": "xx", "last_name": "xx", "company": "", "address_1": "xxxd", "address_2": "xxxx", "city": "Shamshabad", "state": "UP", "postcode": "209503", "country": "IN", "email": "[email protected]", "phone": "xx" }, "shipping_address": { "first_name": "xx", "last_name": "xx", "company": "", "address_1": "xx", "address_2": "xxxx", "city": "Shamshabad", "state": "UP", "postcode": "209503", "country": "IN" } } }
————
i want the order status as it was earlier : it used to mapped as completed.
please help me
[ Login credentials deleted after 3 hours ]
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by .
- This topic was modified 2 years, 6 months ago by . Reason: removed name/address/phone
- This topic was modified 2 years, 6 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘wrong order status update’ is closed to new replies.