PaymentAddress.languageCode

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The languageCode read-only property of the PaymentAddress interface returns a string containing the BCP-47 language code for the address, used to determine the field separators and the order of fields when formatting the address for display.

Syntax

var paymentLanguageCode = PaymentAddress.languageCode;

Specifications

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

Browser Compatibility

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

Document Tags and Contributors

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