         'order[payments_attributes][][payment_method_id]': paymentMethodId
         order: {}
         payment_source: {}
+
+      @_addShippingRate(params, order)
 
       if card.id
         params.order.existing_card = card.id

          ship_address_attributes: order.actualShippingAddress().serialize()
          bill_address_attributes: order.billingAddress.serialize()

      if order.shippingRate
        params['order[shipments_attributes][][id]'] = order.shipment.id
        params['order[shipments_attributes][][selected_shipping_rate_id]'] = order.shippingRate.id

      @put(params)


        .error (response) ->
          Cart.errors(response.errors || response.exception)

    _addShippingRate: (params, order) ->
      if order.shippingRate
        params['order[shipments_attributes][][id]'] = order.shipment.id
        params['order[shipments_attributes][][selected_shipping_rate_id]'] = order.shippingRate.id

    _findPaymentMethodId: ->
      paymentMethod = _.find Env.config.payment_methods, (method) -> method.name == 'Credit Card'

