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

    Function addPaymentSheetEventListener

    • Subscribes to typed lifecycle transitions for the active payment sheet.

      Subscribe before calling presentPaymentSheet so the initial presented event is not missed. A failed payment attempt is recoverable and leaves the sheet open; terminal behavior belongs to the result returned by presentation. Remove the subscription when the host screen unmounts or after presentation resolves.

      Parameters

      • listener: (event: PaymentSheetEvent) => void

        Called in sequence for application-facing lifecycle events.

      Returns PaymentSheetEventSubscription

      A subscription whose remove method detaches the native listener.