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.


var shippingType = paymentRequest.shippingType


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


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

Browser Compatibility

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

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,