Superwall

NonSubscriptionTransaction

Represents a non-subscription transaction (consumables and non-consumables).

The store field was added in 2.4.7.

Purpose

Provides details about one-time purchases in CustomerInfo, including which store fulfilled the purchase.

Properties

Prop

Type

Store values (2.4.7+)

appStore, stripe, paddle, playStore, superwall, other.

Usage

Inspect non-subscription purchases:

final customerInfo = await Superwall.shared.getCustomerInfo();

for (final purchase in customerInfo.nonSubscriptions) {
  print('Product: ${purchase.productId}');
  print('Store: ${purchase.store}');
  print('Consumable: ${purchase.isConsumable}');
  print('Revoked: ${purchase.isRevoked}');
}

How is this guide?

Edit on GitHub