Class IapticStripe

Hierarchy

  • IapticStripe

Constructors

Properties

apiKey: string
appName: string
iapticUrl: string
refreshScheduler: RefreshScheduler
VERSION: "1.0.0" = '1.0.0'

Methods

  • Returns null | CachedProducts

  • Returns undefined | string

  • Parameters

    • accessToken: string

    Returns void

  • Get purchases status.

    By default, it will use the access token stored in the browser's localStorage. You can pass an optional access token to get the purchases for a specific user.

    Parameters

    • Optional accessToken: string

      Optional access token for the user

    Returns Promise<Purchase[]>

  • Redirects to Stripe Customer Portal for subscription management

    Parameters

    • params: {
          accessToken?: string;
          returnUrl?: string;
      }
      • Optional accessToken?: string
      • Optional returnUrl?: string

    Returns Promise<void>

Generated using TypeDoc