Commit 279c8cc7 by Solo Group

pars odeo

1 parent ef1bd928
......@@ -105,6 +105,7 @@ class Vendor(VendorClass):
data = "data" in result and result["data"] or None
if data:
self.vend_trx = "order_id" in data and data["order_id"] or None
self.amt_buy = "price" in data and data["price"] or 0
parsd = self.pars_data(data)
......@@ -171,6 +172,8 @@ class Vendor(VendorClass):
result["bill_no"] = self.bill_no
result["cust_trx"] = self.cust_trx
result["vend_trx"] = self.vend_trx
result['harga'] = self.amt_buy
if not data:
return result
......@@ -182,6 +185,7 @@ class Vendor(VendorClass):
elif data["rc"] == "67":
self.status = -2 # Gagal Karena Pernah Transaksi
if "subscriber_id" in data and data["subscriber_id"]:
result['nopel'] = data["subscriber_id"]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!