In our magento 2.3.3 after palced and paid order via Paypal. Order has status Complite. Invoice has status Paid automatically. But shipping is not created, error in log file: [2020-03-25 07:19:47] main.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (tuerenmeile2.sales_shipment, CONSTRAINT SALES_SHIPMENT_ORDER_ID_SALES_ORDER_ENTITY_ID FOREIGN KEY (order_id) REFERENCES sales_order (entity_id) ON DELETE CASCADE), query was: INSERT INTO sales_shipment (store_id, total_qty, customer_id, shipping_address_id, billing_address_id, increment_id, packages) VALUES (?, ?, ?, ?, ?, ?, ?) [] []

What does it mean?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.