Kite Publisher Plugin does not record the "tag"

bondre

I am using the example from your documentation. I have tried it using forms as well as the publisher.js plugin.
The "tag" information is not recorded on the order. Is there something I am doing wrong here?









var your_basket = [{
"exchange" : "NSE",
"tradingsymbol" : "INFY",
"quantity" : 1,
"transaction_type": "BUY",
"product" : "CNC",
"order_type" : "MARKET",
"tag" : "ZDPubDemo",
"readonly" : true
}, {
"exchange" : "NSE",
"tradingsymbol" : "IDBI",
"quantity" : 1,
"transaction_type": "BUY",
"product" : "CNC",
"order_type" : "MARKET",
"tag" : "ZDPubDemo",
"readonly" : true
}];

//alert (JSON.stringify(your_basket));

document.getElementById("basket").value = JSON.stringify(your_basket);
document.getElementById("basket-form").submit();

Sign In or Register to comment.