Open
Description
Describe the bug
The print option is still available on the app when a shipping label is outdated. When tapping this button, an alert shows up saying there's an error previewing the label.
To Reproduce
Steps to reproduce the behavior:
- Go to the Orders tab.
- Select an old order with a shipping label created long ago. I'm not sure how long is enough, I got this issue with a label created 1 year ago.
- Notice the error alert saying there is an error with the preview.
Request to print the label fails with an error:
{
"error" : "wcc_server_error_response",
"message" : "Error: The WooCommerce Shipping & Tax server returned: Internal Server Error An internal server error occurred ( 500 )"
}
Expected behavior
The print option should be disabled like on the web:
