PayFanout API reference
    Preparing search index...

    Function PaymentFields

    • Thin wrapper around the active ClientPaymentAdapter.mount. Lazily loads the PSP SDK on first mount, unmounts on cleanup. Card data lives exclusively in the PSP's hosted fields/iframes — nothing sensitive enters React state. SSR-safe: all adapter work happens in useEffect (client only).

      Parameters

      Returns ReactNode