;; Cart payments components

(defcomp ~cart-payments-panel (&key update-url csrf merchant-code placeholder input-cls sumup-configured checkout-prefix)
  (section :class "p-4 max-w-lg mx-auto"
    (~sumup-settings-form :update-url update-url :csrf csrf :merchant-code merchant-code
      :placeholder placeholder :input-cls input-cls :sumup-configured sumup-configured
      :checkout-prefix checkout-prefix :sx-select "#payments-panel")))
