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

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

1. From version 55: this feature is behind the dom.payments.request.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

Document Tags and Contributors

 Contributors to this page: fscholz, jpmedley
 Last updated by: fscholz,