Magento 2 accepted an attachment at checkout. Why is it missing from the order?

2 min read

A silver file with a mint corner between a basket and a locked order folder

If checkout confirms the upload, note the file name, size and test time. Check how the file is linked to the basket and the order, then check whether the staff member can see it.

Compare the basket and order from the same test

In Kowal Order Attachment 1.0.11, the upload record links the file to the basket through quote_id. After the order is created, the module tries to move the file and save order_id. Compare the order’s basket ID with the one in the attachment record. The Admin list can also include a temporary file from the matching basket, so check both IDs and whether the file is available. Kowal Order Attachment. Module documentation.

Check whether the attachment is visible in Admin

The local test began with a sample upload record and a JPEG. The list was empty for an order from another basket. For the matching basket, the module moved the file with the same contents. Turning off the section or using a role without permission left the list empty for the same order.

Local trace for sample.jpg
Stage or caseBasket IDOrder IDFiles listed in Admin
Upload record41——
Order from another basket425020
Moved, with permission415011
Role has no attachment access415010
Section disabled415010

Open the test order in Sales → Orders. Check Show Attachments in Admin Order View for its store view and the role’s View Order Attachments permission. Use an authorised account to download the file and compare it with the original. If the association is correct and download fails, check whether the file is available and review the transfer log. Adobe Commerce user roles.

The earlier order attachment guide covers field visibility and file requirements.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)