Hello, i am trying to use the feature as mentioned here (https://kite.trade/docs/connect/v3/basket/). Problem 1 - Every time i submit the form, it is launching a new pop. is there a way to control it? Because once order is prepared on client side and submitted many a times there is no point of having an extra step to place the order. pop is useful while debugging the code in case order prepared is same as what is being sent.
Problem 2 - On the Publisher Plugin site (https://kite.trade/docs/connect/v3/publisher/ ), there is KiteConnect Interface to submit orders. Here also same problem, it is launching a pop up.
How to disable the pop and directly submit the order?
PS: i noticed your_basket json need to be stringify before submitting else it throws invalid payload error. https://kite.trade/docs/connect/v3/basket/. maybe update documentation.
i noticed your_basket json need to be stringify before submitting else it throws invalid payload error. https://kite.trade/docs/connect/v3/basket/. maybe update documentation.
If you are making an HTTP request then the payload is a string, right? What other formats would you use?
Hello, i had seen the link, it did not give any idea how to fix the pop up problem. When we submit the orders, internally it goes via kite web only. Could you share the code to click on the place button of the pop page programatically.
when i used the code given here (https://kite.trade/docs/connect/v3/basket/), it threw invalid payload error. once i place stringify like this (document.getElementById("basket").value =JSON.stringify(your_basket);), it worked.
You can check out the demo here.
i had seen the link, it did not give any idea how to fix the pop up problem. When we submit the orders, internally it goes via kite web only. Could you share the code to click on the place button of the pop page programatically.
when i used the code given here (https://kite.trade/docs/connect/v3/basket/), it threw invalid payload error. once i place stringify like this (document.getElementById("basket").value =JSON.stringify(your_basket);), it worked.