CDSL Pin not asking while Sell Order

developer
developer edited October 6 in Kite Publisher
We placed Sell order through Publisher JS , and got the error CDSL PIN . But while placing Sell Order CDSL Pin is not asked by Publisher JS.
Kindly suggest what to do?
  • developer
    Its very urgent
  • rakeshr
    We placed Sell order through Publisher JS , and got the error CDSL PIN . But while placing Sell Order CDSL Pin is not asked by Publisher JS.
    Didn't get you? Is sell order from Publisher Js re-directing to the CDSL PIN page or not?
  • developer
    Not Redirecting
  • vatsarj
    Hi @rakeshr even while executing via Kite Publisher does it redirect the user to authorize to CDSL for a Sell order, if it is not done previously ? Bcoz right now it is just showing an error, unlike how it re-directs while using the Kite main browser interface.
  • rakeshr
    rakeshr edited October 11
    Bcoz right now it is just showing an error, unlike how it re-directs while using the Kite main browser interface.
    No, it won't re-direct by default to CDSL auth page. You need to add authHoldings function call, while initiating such requests.
    It will be something like:
    kite.authHoldings(holding auth request_id, callback()(optional));
Sign In or Register to comment.