PaymentAddress.country

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

The country read-only property of the PaymentAddress interface returns a string containing the Common Locale Data Repository (CLDR) region code for the user's country, for example, US, GB, CN, JP, etc.

Syntax

var paymentCountry = PaymentAddress.country;

Specifications

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

Browser Compatibility

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

Document Tags and Contributors

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