PaymentRequest.shippingType

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

The shippingType read-only property of the PaymentRequest interface returns one of "shipping", "delivery", "pickup", or null if one was not provided by the constructor.

Syntax

var shippingType = paymentRequest.shippingType

Value

One of "shipping", "delivery", "pickup", or null.

Specifications

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

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
shippingTypeChrome Full support 60Edge Full support 15Firefox No support No
Notes
No support No
Notes
Notes Available only in nightly builds.
IE No support NoOpera Full support 47Safari Full support 11.1WebView Android No support NoChrome Android Full support 55Firefox Android No support No
Notes
No support No
Notes
Notes Available only in nightly builds.
Opera Android Full support 44Safari iOS Full support 11.3Samsung Internet Android Full support 6.0

Legend

Full support  
Full support
No support  
No support
See implementation notes.
See implementation notes.