Hattabitos | Posts: 24

Load a transaction from the server

0 votes
In iOS SDK there’s a function to “load a transaction from the server”, the syntax is like: eSignLive.dashboard().startESignCeremonyForTransaction(withGUID: “”) As the packages are created on server side, can we take this way in our app? If yes, what steps and information we need to prepare first?

Sina.moetakef | Posts: 1

Reply to: Load a transaction from the server

0 votes
This method downloads the transaction and starts the signing ceremony. Before calling the above method, the following is needed: 1- The SDK should be integrated in the project 2- The instance URL should be provided to the SDK
eSignLive.dashboard().serverAddress = "SERVER ADDRESS GOES HERE"
3- The user should be logged in to the SDK using email/password or a session token. login with email/password:
- (void)loginWithEmail:(NSString *)aEmail
              password:(NSString *)aPassword
             andCallback:(void (^)(NSDictionary *response))aCallback;
login with session token:
- (void)loginWithSessionToken:(NSString *)aSessionToken withCallback:(void (^)(NSDictionary *response))aCallback;
4- The root ViewController on which the SDK is going to render it's UI should be set on the SDK. you can set this property from your project's ViewController.
eSignLive.dashboard().rootViewController =  self
5- The transaction ID (GUID) is needed to be passed to the method.
- (void)startESignCeremonyForTransactionWithGUID:(NSString *)aGUID;

liqingpan | Posts: 3

Reply to: Load a transaction from the server

0 votes
Hi Ahmad, Thanks for getting back to me. The way how it works now for our app is: 1. Query the packageID and signerID from our sever, but they look like internal IDs rather than those registered on eSignlive. 2. We use the packageID and signerID mentioned in bullet 1 to query sessionToken from our server, use it to construct an URL like: https://sandbox.e-signlive.ca/access?sessionToken= , then start the ceremony directly in Webview. Now we want to use SDK instead of this practice. I see in SDK there’s a function to “load a transaction from the server”, the syntax is like: eSignLive.dashboard().startESignCeremonyForTransaction(withGUID: “”) As the packages are created on server side, can we take this way in our app? If yes, what steps and information we need to prepare first?

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off