<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePaySession/STATUS_SUCCESS",
  "metadataVersion" : "0.1.0",
  "role" : "",
  "symbol" : {
    "kind" : "",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "clconst/ApplePaySession/STATUS_SUCCESS"
  },
  "title" : "STATUS_SUCCESS"
}
-->

# STATUS_SUCCESS

The requested action succeeded.

```
const unsigned short STATUS_SUCCESS;
```

## Discussion

When you call [`completePayment`](/documentation/ApplePayontheWeb/ApplePaySession/completePayment) with [`STATUS_SUCCESS`](/documentation/ApplePayontheWeb/ApplePaySession/STATUS_SUCCESS), the payment sheet shows that the transaction was successful, and the sheet is dismissed . For all other methods, the payment sheet remains open.

---

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)