PaymentAddress.sortingCode

The sortingCode read-only property of the PaymentAddress interface returns a string containing a postal sorting code such as is used in France.

Syntax

var sortingCode = PaymentAddress.sortingCode;

Value

A DOMString containing the sorting code portion of the address.

Specifications

Specification Status Comment
Payment Request API
The definition of 'PaymentAddress.sortingCode' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support61115 ? No No ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No532 Yes ? No ?6.0

1. From version 61: this feature is behind the #web-payments preference (needs to be set to Enabled). To change preferences in Chrome, visit chrome://flags.

2. From version 53: this feature is behind the #web-payments preference (needs to be set to Enabled). To change preferences in Chrome, visit chrome://flags.

Document Tags and Contributors

Contributors to this page: Sheppy, fscholz, jpmedley, chrisdavidmills, libbymc, dgashmdn
Last updated by: Sheppy,