Commit bc16a58f by irul

live

1 parent 732ec101
......@@ -52,7 +52,7 @@ def build_request(typ, values):
modules = import_module('.'+vendor_product.modules, 'agratek.api.merchant.views')
cls_module = modules.Vendor(PartnerProduk.kode, values['destination'],
values['trx_id'])
values['trx_id'], vendor_id)
if typ=='inquiry':
return cls_module.inquiry()
......@@ -384,4 +384,4 @@ def vendor_test(request):
pass
xml = xmltodict.unparse(result)
return xml
\ No newline at end of file
return xml
......@@ -294,8 +294,8 @@ from .vsi import Vendor as VendorClass
class Vendor(VendorClass):
def __init__(self, product_kd, cid=None, trx_id=None):
VendorClass.__init__(self, product_kd, cid, trx_id)
#def __init__(self, product_kd, cid=None, trx_id=None, vendor_id):
# VendorClass.__init__(self, product_kd, cid, trx_id, vendor_id)
def inquiry(self):
params = self.get_params('INQ')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!