Hi @rakeshr @sujith in publisher js there is no method available to clear the basket. we want to clear the basket its really help the user experience . If there is any alternative way to clear the basket without Re-Initialize the instance.
Hi @sujith , when user placed order if the TOTP is not enable , zerodha shows the error message. Before placeing order there is any API to get this user information if TOTP is enable or not.
@rakeshr @sujith
_this.kiteInstance.finished(function (status, request_token) {
if (status == "success") {
} else if (status == "cancelled") {
// Here i want to completely clear the busket .
// There is …