 
           xhr = new XMLHttpRequest()
 
-          xhr.addEventListener "readystatechange", =>
-            console.log @readyState
+          xhr.addEventListener "readystatechange", ->
 
             if @readyState is 4
               if @status is 200
-                console.log "status: #{@status}, responseText: #{@responseText}"
                 window.location.replace "#{window.location.origin}/order_success"
               else
                 console.warn "Request Error: #{@statusText}"

        field = $(event.target)
        fieldId = $(field).attr('id')
        bFieldVal = $(field).val()
        type = fieldId.split('_').shift()
        try
          sField = if type is 'address' then type+"_s0" else type+"_s"
          $("[id=#{ sField }]").val(bFieldVal)
        catch e


          xhr.setRequestHeader "cache-control", "no-cache"

          xhr.send formData_formatted_JSON


  countryValidator: ->
