Jump to Content
smallcase Gateway Docs
HomeIntegration GuidesAPI EndpointsChangelogFAQs
Try Demosmallcase Gateway Docs
Try Demo
HomeIntegration GuidesAPI EndpointsChangelogFAQs

FAQs

Ask a Question
ANSWERED

Getting error while triggering a transaction

I am getting a `Network Error` while triggering a transaction. The flow is as follows. 1. User login with Smallcase SDK. 2. Got the Smallcase Auth token. 3. User changes the auth token in the cookies and refreshes the page. 4. User clicks on the login button as we already have Smallcase auth token we have initialized the SDK (with the invalid token). 5. The initialization fails, so we have asked the user to log in again. 6. When the user tries to log in we are going `Network Error` at the `triggerTransaction` method of SDK. Moreover, it's not showing any error info except `Network Error`. Can you help us to resolve this issue?
trigger transactionjavascript
Posted by Hafeezul Kareem over 1 year ago
ANSWERED

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.
javascripttrigger transaction
Posted by Sandeep over 1 year ago
  • FAQs
  • Recent
  • Popular
  • Unanswered
androidapicreate transactionexplainerflutterfunctionalitygeneralinitjavascriptleprechaun (test mode)logoutreact nativereact-nativesdk errorsmallcase transactionstocks transactionswitch brokertrigger transactionwebhook