Commit 4b5d2c4e by solo
2 parents d07dca9c bf6d1ae6
...@@ -178,9 +178,12 @@ class Vendor(VendorClass): ...@@ -178,9 +178,12 @@ class Vendor(VendorClass):
message="No Response From Biller") message="No Response From Biller")
data = self.pars_data(data) data = self.pars_data(data)
if data["code"]!=0:
return self.set_pending()
self.result = data self.result = data
self.save_log('payment') self.save_log('payment')
return data return self.set_success(data)
def advice(self): def advice(self):
params = self.get_params(cmd='ADV', modul='PRE') params = self.get_params(cmd='ADV', modul='PRE')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!