FAQs
no proper tutorial
Why there is no proper example on internet, so much issue during installation , taken so much time on installation and still unstable some time, can you please provide any proper references ,
Posted by varsha 9 months ago
Flutter Integration
Will we get a flutter integration?
Posted by Khurram Baig over 1 year ago
How to get access to api?
How can we get access to API? Is there any sandbox environment for testing?
What are the requirements to get access to API?
Posted by Khurram Baig over 1 year ago
Guest user is not connected even after completing broker login.
Hi, I am initializing the SDK with guest auth token and then perform broker login, but I am still being prompted to login with a broker if I try to execute buy/sell transaction. This does not happen if I provide an auth token created by signing an auth id.
After transaction workflow is completed I am decoding the authtoken I received and storing the authid. My question is whether I have to reinitialize the client sdk with the auth id I received for the guest user to be authenticated properly and prevent any further login prompts.
I tried reinitializing but when I try to trigger any buy/sell workflows, the sdk still prompts me with login to broker page.
Here is my source code:
https://gist.github.com/BhayanakMoth/db06c9963be521b5d40f62c847ce2514
Posted by Nipun Ramani 8 months ago
What is `smallcaseAuthId`?
### Explainer on what, when & where of `smallcaseAuthId`
Posted by smallcase Gateway 4 months ago
Explainer: smallcase pending actions
What are pending action in invested smallcase?
Posted by smallcase Gateway 6 months ago
How to enter into testing mode with single broker?
We are showing a single broker in the smallcase SDK to authenticate with. While showing a single broker, we are unable to enter into the test mode. Is it possible to enter into the test mode with single broker?
Posted by Hafeezul Kareem 6 months ago
JavaScript SDK
Hi,
Please provide proper documentation, how implement to javascript Sdk.
const scGateway = new scDK({
gateway:gatewayName,
smallcaseAuthId: authToken,
config: {
amo: true
}
})
scGateway.triggerTransaction({
transactionId: 'transactionId'
})
.then(res => res)
.catch(err => err.message);
});
I using this code but no any response.
Posted by Sandeep 8 months ago
Javascript SDK Error when login() is called
Hey I am trying to log in using javascript sdk but I am getting an error that says
```text
Uncaught (in promise) TypeError: Cannot read property 'toLowerCase' of undefined
at ie (scdk.js:1)
at e.<anonymous> (scdk.js:1)
at u (scdk.js:1)
```
code:
```javascript
function connect() {
requestOptions = {
method: 'POST'
}
fetch("http://localhost:8080/smallcase/authenticate",requestOptions).then(res => {
res.text().then(async body => {
console.log(body);
const scGateway = new scDK({
gateway: <mygateway>, // Using the gateway that was provided
smallcaseAuthToken: body,
config: {}
});
await scGateway.initPromise; // This promise is fulfilled.
await scGateway.login(); // Error thrown here
});
})
};
```
signup method runs fine and the dialog box for smallcase shows up, is there something else that I need to provide?
Posted by Nipun Ramani 8 months ago
SIP setup through Gateway
Can users setup an SIP through smallcase Gateway?
Posted by Saarthak Shah 7 months ago