made checkout controller do more checks, fixes dioscouri/amritasingh-f3#218