globalpayments / python-sdk

GNU General Public License v2.0
23 stars 17 forks source link

xmltodict library issue - Namespace separator ':' incompatible with Expat >=2.4.5 security fixes #8

Open reinbach opened 2 years ago

reinbach commented 2 years ago

If you're seeing the following error on any card/transaction requests;

 File "/<removed>/lib/python3.8/site-packages/xmltodict.py", line 327, in parse
    parser.Parse(xml_input, True)
xml.parsers.expat.ExpatError: out of memory: line 1, column 0

And have Expat >= 2.4.5 installed, then see https://github.com/martinblech/xmltodict/issues/289 for some insight.