[ Web Proxy ]
URL:
Viewing: https://developer.squareup.com/reference/sdks/web/payments/objects/ShippingErrors [Back]  [Original]

ShippingErrors Object - Square Web Payments SDK Reference

#
ShippingErrors

Details about digital wallet shipping address errors

ShippingErrors provides the address field whose value is in error and the details of the error. Each ShippingError object describes one address field with its corresponding error.

Properties

#
addressLines string

Indicate the address lines are not valid.

#
city string

Indicate the city/locality is not valid.

#
country string

Indicate the country is not valid.

#
postalCode string

Indicate the postal code is not valid.

#
state string

Indicate the state/province/region is not valid.

shippingErrors.js
JS
JavaScript
Copy

const shippingErrors = {

   postalCode: 'A valid US Zip Code is required. Please check and try again.'

}

Web Proxy Viewer  |  New URL  |  Original Page