---
title: STATUS_SUCCESS
framework: applepayontheweb
role: symbol
role_heading: ""
path: applepayontheweb/applepaysession/status_success
---

# STATUS_SUCCESS

The requested action succeeded.

## Declaration

```data
const unsigned short STATUS_SUCCESS;
```

## Discussion

Discussion When you call completePayment with 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.

## See Also

### Status code constants

- [STATUS_FAILURE](applepayontheweb/applepaysession/status_failure.md)
- [STATUS_INVALID_BILLING_POSTAL_ADDRESS](applepayontheweb/applepaysession/status_invalid_billing_postal_address.md)
- [STATUS_INVALID_SHIPPING_CONTACT](applepayontheweb/applepaysession/status_invalid_shipping_contact.md)
- [STATUS_INVALID_SHIPPING_POSTAL_ADDRESS](applepayontheweb/applepaysession/status_invalid_shipping_postal_address.md)
- [STATUS_PIN_INCORRECT](applepayontheweb/applepaysession/status_pin_incorrect.md)
- [STATUS_PIN_LOCKOUT](applepayontheweb/applepaysession/status_pin_lockout.md)
- [STATUS_PIN_REQUIRED](applepayontheweb/applepaysession/status_pin_required.md)
