Commit 4f1ab65b by Solo Group

error payment

1 parent b9c38824
...@@ -111,6 +111,9 @@ class Vendor(VendorClass): ...@@ -111,6 +111,9 @@ class Vendor(VendorClass):
return self.set_failed(data) return self.set_failed(data)
log.info(resp) log.info(resp)
if resp and resp.ok and resp.text:
log.info(resp.text)
if resp and resp.ok: if resp and resp.ok:
data = dict(xmltodict.parse(resp.text)["root"]) data = dict(xmltodict.parse(resp.text)["root"])
self.response = data self.response = data
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!