We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

PaymentAddress.region

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

The region read-only property of the PaymentAddress interface returns a string containing a top-level administrative subdivision of the country, for example a state, province, oblast, or prefecture.

Note: In some countries (e.g. Belgium) it's uncommon for people to provide a region as part of their postal address. In such cases, the browser returns an empty string. However, the address should still be ok to use for its intended purpose (e.g., to ship a product). However, always verify addresses to make sure what the user provides is ok!   

Syntax

var paymentRegion = PaymentAddress.region;

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: jpmedley, chrisdavidmills, marcoscaceres, fscholz, libbymc, dgashmdn
Last updated by: jpmedley,