---
title: STATUS_INVALID_SHIPPING_POSTAL_ADDRESS
framework: applepayontheweb
role: symbol
role_heading: ""
path: applepayontheweb/applepaysession/status_invalid_shipping_postal_address
---

# STATUS_INVALID_SHIPPING_POSTAL_ADDRESS

The shipping address is invalid.

## Declaration

```data
const unsigned short STATUS_INVALID_SHIPPING_POSTAL_ADDRESS;
```

## Discussion

Discussion Use this status code only for Apple Pay API version 1 or 2 style calls. For version 3, use an ApplePayError with a status of STATUS_FAILURE  and error code instead. Use this status code if your address validation determines that the shipping address is invalid.The payment sheet remains open and shows the shipping address highlighted in red.

## See Also

### Related Documentation

- [supportsVersion](applepayontheweb/applepaysession/supportsversion.md)

### Status code constants

- [STATUS_FAILURE](applepayontheweb/applepaysession/status_failure.md)
- [STATUS_INVALID_BILLING_POSTAL_ADDRESS](applepayontheweb/applepaysession/status_invalid_billing_postal_address.md)
- [STATUS_INVALID_SHIPPING_CONTACT](applepayontheweb/applepaysession/status_invalid_shipping_contact.md)
- [STATUS_PIN_INCORRECT](applepayontheweb/applepaysession/status_pin_incorrect.md)
- [STATUS_PIN_LOCKOUT](applepayontheweb/applepaysession/status_pin_lockout.md)
- [STATUS_PIN_REQUIRED](applepayontheweb/applepaysession/status_pin_required.md)
- [STATUS_SUCCESS](applepayontheweb/applepaysession/status_success.md)
