Interface PaywallPurchaseResult

Represents the result of a purchase operation initiated from a paywall.

interface PaywallPurchaseResult {
    customerEmail?: string;
    customerInfo: CustomerInfo;
    operationSessionId: string;
    redemptionInfo: null | RedemptionInfo;
    selectedPackage: Package;
    storeTransaction: StoreTransaction;
}

Hierarchy (View Summary)

Properties

customerEmail?: string

The email used for this purchase (checkout form or wallet). Undefined when the SDK did not collect one (e.g. some hosted/Paddle paths).

customerInfo: CustomerInfo

The customer information after the purchase.

operationSessionId: string

The operation session id of the purchase.

For Amazon Store purchases, this will contain the Amazon Store's receipt ID from the purchase.

redemptionInfo: null | RedemptionInfo

The redemption information after the purchase if available.

selectedPackage: Package

The package selected by the customer while interacting with the paywall.

storeTransaction: StoreTransaction

The store transaction associated with the purchase.