Skip to content

Commit e90df20

Browse files
MC-37313: [Create UPS shipping label] Error message appears "Failed to send items" if Signature Confirmation is set to Not Required
1 parent 6be6b04 commit e90df20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ups/Model/Carrier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ protected function _formShipmentRequest(DataObject $request)
15381538
}
15391539
}
15401540

1541-
if (isset($deliveryConfirmation) && $deliveryConfirmationLevel === self::DELIVERY_CONFIRMATION_SHIPMENT) {
1541+
if (!empty($deliveryConfirmation) && $deliveryConfirmationLevel === self::DELIVERY_CONFIRMATION_SHIPMENT) {
15421542
$serviceOptionsNode = $shipmentPart->addChild('ShipmentServiceOptions');
15431543
$serviceOptionsNode->addChild(
15441544
'DeliveryConfirmation'

0 commit comments

Comments
 (0)