[Shipping labels] Default label paper size setting not being used when printing shipping labels #13958
Labels
feature: shipping labels
Related to creating, ordering, or printing shipping labels.
type: bug
A confirmed bug.
Describe the bug
After purchasing a shipping label, the app always defaults to the legal paper size, even if the user has set a different default paper size in the Shipping settings in wp-admin.
This happens because we only check for the default paper size setting on the shipping label settings, but a new label doesn't have any default settings. For a newly purchased label, we should be checking the account settings for the default.
Related discussion: p1726218332825849-slack-C05VBLKHHV1
To Reproduce
Steps to reproduce the behavior:
processing
status and at least one physical product.Screenshots
In the app, after purchasing a label:
In wp-admin:
Expected behavior
After purchasing a shipping label, the app should default to the default paper size in the shipping account settings (
ShippingLabelAccountSettings.paperSize
).For existing shipping labels, I believe the priority should be:
ShippingLabelSettings.paperSize
)ShippingLabelAccountSettings.paperSize
)However, I'd suggest we default to label or letter size in the last case, rather than legal (which seems like an odd default).
The text was updated successfully, but these errors were encountered: