# StoreIdentifiers

Store-specific identifiers returned with successful Flutter web checkout redemptions.

Purpose [#purpose]

Identifies the store that fulfilled a redeemed web checkout purchase. Access this from `RedemptionResultSuccess.redemptionInfo.purchaserInfo.storeIdentifiers`.

Signature [#signature]

```dart
sealed class StoreIdentifiers {}

class StripeStoreIdentifiers extends StoreIdentifiers {
  final String customerId;
  final List<String> subscriptionIds;
}

class PaddleStoreIdentifiers extends StoreIdentifiers {
  final String customerId;
  final List<String> subscriptionIds;
}

class UnknownStoreIdentifiers extends StoreIdentifiers {
  final String store;
  final Map<String, Object> additionalInfo;
}
```

Values [#values]

<TypeTable
  type="{
  StripeStoreIdentifiers: {
    type: &#x22;StoreIdentifiers&#x22;,
    description: &#x22;Identifiers for a Stripe purchase, including the Stripe customer ID and subscription IDs.&#x22;,
  },
  PaddleStoreIdentifiers: {
    type: &#x22;StoreIdentifiers&#x22;,
    description: &#x22;Identifiers for a Paddle purchase, including the Paddle customer ID and subscription IDs.&#x22;,
  },
  UnknownStoreIdentifiers: {
    type: &#x22;StoreIdentifiers&#x22;,
    description: &#x22;Identifiers for another store. Inspect `store` and `additionalInfo` for store-specific values.&#x22;,
  },
}"
/>

Usage [#usage]

```dart
void didRedeemLink(RedemptionResult result) {
  if (result is! RedemptionResultSuccess) {
    return;
  }

  final identifiers = result.redemptionInfo.purchaserInfo.storeIdentifiers;

  switch (identifiers) {
    case StripeStoreIdentifiers(
      customerId: final customerId,
      subscriptionIds: final subscriptionIds,
    ):
      print('Stripe customer: $customerId');
      print('Stripe subscriptions: $subscriptionIds');
      break;
    case PaddleStoreIdentifiers(
      customerId: final customerId,
      subscriptionIds: final subscriptionIds,
    ):
      print('Paddle customer: $customerId');
      print('Paddle subscriptions: $subscriptionIds');
      break;
    case UnknownStoreIdentifiers(
      store: final store,
      additionalInfo: final info,
    ):
      print('Unknown store: $store, $info');
      break;
  }
}
```

Related [#related]

* [`RedemptionResult`](/docs/flutter/sdk-reference/RedemptionResult)
* [Using RevenueCat](/docs/flutter/guides/web-checkout/using-revenuecat)