---
title: subscribe()
framework: storekit
role: symbol
role_heading: Instance Method
path: storekit/subscriptionstorecontrolstyleconfiguration/option/subscribe()
---

# subscribe()

Initiates a purchase when a customer activates a control to subscribe to the option.

## Declaration

```swift
func subscribe()
```

## Discussion

Discussion Call the subscribe() method within your custom style when the customer chooses to make a purchase. important: Don’t call purchase methods, such as purchase(confirmIn:options:), on the subscription property from your custom style.
