Commit b5659800 by yasir

perbaikan

1 parent 260e8960
......@@ -27,7 +27,7 @@ class Vendor(VendorClass): # VendorClass
self.notify_url = "{}/api/vendor/omnipay/notify".format(get_host())
#total yang harus dibayarkan = fee vendor+fee agratek + tagihan VA
self.amt = vendor_produk.harga + invoice_det.amt_sell
self.amt = vendor_produk.harga + float(invoice_det.amt_sell)
self.orderid = invoice_det.cust_inv_no
self.verify_key = self.merchantid = 'omnipay_verify_key' in settings and settings['omnipay_verify_key'] or ''
self.vcode = md5(str(self.amt) + self.merchantid + self.orderid + self.verify_key);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!