         </span>
 
     render: ->
+        if not @props.customer
+            return <AddPaymentMethod redux={redux} on_close={() => redux.getActions('billing').setState({continue_first_purchase: true})} />
         for card_data in @props.customer.sources.data
             if card_data.id == @props.customer.default_source
                 default_card = card_data


    submit_payment_method: ->
        @setState(error: false, submitting:true)
        @props.redux.getActions('billing').submit_payment_method @state.new_payment_info, (err) =>
            @setState(error: err, submitting:false)
            if not err

            cb?(err)
        )

    _action: (action, desc, opts) =>
        @setState(action: desc)
        cb = opts.cb
