Print packing slip button is non-responsive for online orders placed through my app

Hi,
Orders created through my app apparently do not work with the “Print packing slip” button. This button can be found in the Square.com admin section > Orders > View details, for specific order > ‘…’ (ellipsis) > “Print packing slip.”
When the button is clicked it appears to be non-responsive when using the latest version of Chrome. The customer who used my app to create the order entered a help ticket with Square (Case ID: 67391618) and Square support mentioned that the issue is caused by way the order is created via my app. Can you verify that this button should work ok for orders placed through the API? What is the best way to follow this up?
Thanks, Van

:wave: What browser troubleshooting did your customer do? Also was there any console errors when the button was clicked and there was no response? I just tried it with the latest version of Chrome and it worked as expected. :slightly_smiling_face:

Thank you for the recommendation to look in the console. When “Print packing slip” is clicked, it generates an XHR request that returns a 500 (Internal Server Error). The order_id and “Ecom-Merchant” header in the data below are correct.

Details below:

index.js:6289 POST https://www.weebly.com/app/shipping/api/pack-slips 500 (Internal Server Error)

General:
Request URL: https://www.weebly.com/app/shipping/api/pack-slips
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: [redacted]

Response Headers:
Referrer Policy: strict-origin-when-cross-origin
Access-Control-Allow-Origin: https://squareup.com
Cache-Control: no-cache, private
Connection: keep-alive
Content-Type: application/json
Date: Tue, 09 Nov 2021 03:23:51 GMT
Server: nginx
Set-Cookie: [Redacted]
Set-Cookie: [Redacted]
Transfer-Encoding: chunked
Vary: Origin
X-Host: blu42.sf2p.intern.weebly.net
X-Request-ID: [Redacted]
X-Revision: [Redacted]
X-W-DC: SFO

Request Headers:
Accept: application/json
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Authorization: [Redacted]
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 656
Content-Type: application/json; charset=UTF-8
Ecom-Locale: US
Ecom-Merchant: MLTV7BAADR1WC
Ecom-Version: 2021-11-10
Host: www.weebly.com
Origin: https://squareup.com
Pragma: no-cache
Referer: https://squareup.com/
sec-ch-ua: "Google Chrome";v="95", "Chromium";v="95", ";Not A Brand";v="99"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Request payload:
{
  "data": [
    {
      "order_id": "U0mP4qESlV06XVXZe2ltffcrUaAZY",
      "location_id": "L9C1PDYGG22H3",
      "order_version": 5,
      "origin": {
        "address_line_1": "Redacted",
        "address_line_2": "",
        "administrative_district_level_1": "Redacted",
        "country": "US",
        "locality": "Redacted",
        "name": "Redacted",
        "phone_number": "Redacted",
        "postal_code": "Redacted"
      },
      "destination": {
        "address_line_1": "Redacted",
        "address_line_2": "",
        "administrative_district_level_1": "Redacted",
        "country": "US",
        "locality": "Redacted",
        "name": "Redacted",
        "phone_number": "Redacted",
        "postal_code": "37043"
      },
      "line_items_packed": [
        {
          "line_item_id": "LPYCSIkWbJhzlQSrrFZzU",
          "quantity": 1
        }
      ]
    }
  ],
  "force_recreate": true
}

Thank you for the recommendation to look in the console. When “Print packing slip” is clicked, it generates an XHR request that returns a 500 (Internal Server Error). The order_id and “Ecom-Merchant” header in the data below are correct.

Details below:

index.js:6289 POST https://www.weebly.com/app/shipping/api/pack-slips 500 (Internal Server Error)

General:
Request URL: https://www.weebly.com/app/shipping/api/pack-slips
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: [redacted]

Response Headers:
Referrer Policy: strict-origin-when-cross-origin
Access-Control-Allow-Origin: https://squareup.com
Cache-Control: no-cache, private
Connection: keep-alive
Content-Type: application/json
Date: Tue, 09 Nov 2021 03:23:51 GMT
Server: nginx
Set-Cookie: [Redacted]
Set-Cookie: [Redacted]
Transfer-Encoding: chunked
Vary: Origin
X-Host: blu42.sf2p.intern.weebly.net
X-Request-ID: [Redacted]
X-Revision: [Redacted]
X-W-DC: SFO

Request Headers:
Accept: application/json
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Authorization: [Redacted]
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 656
Content-Type: application/json; charset=UTF-8
Ecom-Locale: US
Ecom-Merchant: MLTV7BAADR1WC
Ecom-Version: 2021-11-10
Host: www.weebly.com
Origin: https://squareup.com
Pragma: no-cache
Referer: https://squareup.com/
sec-ch-ua: "Google Chrome";v="95", "Chromium";v="95", ";Not A Brand";v="99"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Request payload:
{
  "data": [
    {
      "order_id": "U0mP4qESlV06XVXZe2ltffcrUaAZY",
      "location_id": "L9C1PDYGG22H3",
      "order_version": 5,
      "origin": {
        "address_line_1": "Redacted",
        "address_line_2": "",
        "administrative_district_level_1": "Redacted",
        "country": "US",
        "locality": "Redacted",
        "name": "Redacted",
        "phone_number": "Redacted",
        "postal_code": "Redacted"
      },
      "destination": {
        "address_line_1": "Redacted",
        "address_line_2": "",
        "administrative_district_level_1": "Redacted",
        "country": "US",
        "locality": "Redacted",
        "name": "Redacted",
        "phone_number": "Redacted",
        "postal_code": "37043"
      },
      "line_items_packed": [
        {
          "line_item_id": "LPYCSIkWbJhzlQSrrFZzU",
          "quantity": 1
        }
      ]
    }
  ],
  "force_recreate": true
}

Thank you for the recommendation to look in the console. When “Print packing slip” is clicked, it generates an XHR request that returns a 500 (Internal Server Error). The order_id and “Ecom-Merchant” header in the pastebin link below are correct.

Details below:

index.js:6289 POST https://www.weebly.com/app/shipping/api/pack-slips 500 (Internal Server Error)

The forum is apparently not letting me post the full HTTP request/response for the error 500, so I have included it here:

Hi, I am not sure if this needs to be submitted via the Square trouble-ticket system instead of simply a forum question. I cannot seem to find the Square trouble ticket system though. Do all Square accounts have access to this?
Thanks, Van

:wave: Looking at the order and the account this order and payment was created by a 3rd party integration. Currently only packing slips from orders with the Square Online Store are available to be printed. :slightly_smiling_face:

Thank you for looking at this!