<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePayShippingMethodSelectedEvent/shippingMethod",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "instp/ApplePayShippingMethodSelectedEvent/shippingMethod"
  },
  "title" : "shippingMethod"
}
-->

# shippingMethod

The shipping method selected by the user.

```
readonly attribute ApplePayShippingMethod shippingMethod;
```

## Discussion

See [`ApplePayShippingMethod`](/documentation/ApplePayontheWeb/ApplePayShippingMethod).

This attribute is contained by the [`onshippingmethodselected`](/documentation/ApplePayontheWeb/ApplePaySession/onshippingmethodselected) event. Access this attribute using the `event` parameter in the callback function; for example, `var myShippingMethod = event.shippingMethod;`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)