                 [:div.ui.divider]
                 [:button.ui.primary.button
                  {:type :submit
-                  :class (when (nil? (:stripe-token @session))
+                  :class (when (nil? (:payment-info @session))
                            "disabled")
                   :on-click #(add-cart-activities! % (get-in @session [:user :UserId]) cart-activities)}
                  "Confirm Payment and Add Activities"]]]])])))))

            register
            (fn [form]
              (when (empty? errors)
                (attendees-endpoint :create
                                    {:UserId (get-in @session [:user :UserId])
                                     :EventId event-id
                                     :Token (when (:RequiresPayment event) (:stripe-token @session))
                                     ; TODO: maybe this logic is wrong?MIght want to buy ticket even if not required
                                     :Amount (when (:RequiresPayment event) (:TicketPrice event))}
                                    #(js/location.replace (events-route)))))]
        (when (seq event)
          [:div.ui.stackable.page.grid
           [:div.sixteen.wide.column

                                       :exp-year (int year))
                                     :exp-date))
                    response-handler))))]
        #_(when (:payment-info @session)
          (swap! form assoc
                 :number   (str "************" (subs (get-in @session [:payment-info :number]) 12))
                 :cvc      (get-in @session [:payment-info :cvc])
                 :exp-date (str (get-in @session [:payment-info :exp-month])
                                "/"
                                (get-in @session [:payment-info :exp-year]))))
        (if (or (nil? (:payment-info @session))
                @editing?)
          [:div.ui.vertical.segment
           [:h2.ui.dividing.header
            "Payment Info"]
           [:div.two.fields
            [:div.required.field {:class (when (and number (:number errors))
                                           "error")
                                  :on-change #(swap! session dissoc :payment-info)}
             [:label "Card Number"]
             [input-atom :text
              (r/wrap number swap! form assoc :number)]]
            [:div.required.field {:class (when (and cvc (:cvc errors))
                                           "error")
                                  :on-change #(swap! session dissoc :payment-info)}
             [:label "CVC"]
             [:div.two.fields
              [:div.field
