Fixed a spelling error in a call name, modified WePayError to conform with Python >= 2.6