Bisexual refers to people who are only attracted to two genders, regardless of whether or not they fit in the binary system.
Pansexual refers to people who are attracted to more than two genders and do not see gender as an issue. It's like being Heterosexual, but not wanting to date a transwoman because they haven't had the full surgery yet and are still biologically male even though they identify as female.