Inttegro SDK for React Native - v0.6.2
    Preparing search index...

    Function initializePaymentSheet

    • Validates and stores configuration for the next native payment-sheet presentation.

      Initialization is deliberately separate from presentation so an application can configure Checkout before opening a modal. It validates client-owned options only; the SDK does not retrieve the Order or begin payment until presentPaymentSheet is called.

      Call this again when the checkout reference or presentation options change. Do not include an Inttegro API key: mobile applications use either a public finalized Order ID or a public Purchase Intent ID.

      Parameters

      • configuration: PaymentSheetConfiguration

        Checkout identity, return URL, appearance, telemetry, and optional presentation features.

      Returns Promise<void>

      An error when the native module is not linked, another sheet is active, or the configuration is malformed.

      await initializePaymentSheet({
      orderId: checkout.orderId,
      returnURL: 'merchant-app://inttegro-return',
      });