@raisenow/tamaro-core
    Preparing search index...

    Class StripeSdkProvider

    Handles the loading and initialization of the Stripe SDK. It's loaded and initialized only when required and re-initialized when its configuration options change.

    Index

    Constructors

    Properties

    hasError: boolean = false
    radarSession?: StripeRadarSession
    radarSessionPromise?: Promise<void>
    stripe: Stripe | undefined

    Accessors

    • get configureOptions(): {
          stripeAccount: string
          | undefined;
          stripePublicKey: string | undefined;
      }

      Computed getter which returns all options required to initialize the Stripe SDK instance. If it changes, Stripe SDK instance must be re-initialized.

      Returns { stripeAccount: string | undefined; stripePublicKey: string | undefined }

    • get isRadarEnabled(): boolean

      Returns whether Stripe Radar is enabled. It may be enabled only for those payment methods, which are handled by Stripe provider.

      Returns boolean

    • get isSdkRequired(): boolean

      Returns whether Stripe SDK is required to be loaded and (re)initialized.

      Returns boolean

    Methods

    • Returns void

    • Returns void

    • Returns Promise<void>