Bikram

Send to Sign

0 votes

Hello Duo, 

Whenever we click the send to sign button, we are firing an event and  replacing the transaction created successfully response from onespan with a GIF image and reloading it. My question is whenever we click send to sign button, we get transaction created successfully page response from onespan. Is it possible to completely override that page with our modified page. 

Please let me know. 


Approved Answer

Reply to: Send to Sign

0 votes

Hi Biktam,

 

Thanks for the explanation about your workflow, I see what you meant. 

Actually there's an API to send the transaction:

POST /api/packages/{packageId}

{"status":"SENT"}

Let me know if this works for you.

 

Best Regards,

Duo

 

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Send to Sign

0 votes

Hi Biktam,

 

If we are talking about the "SEND TO SIGN" button in designer page, it redirects to a page similar to below and I don't think you can (1)specify a redirection URL, or (2)completely customize the HTML page. You might be able to customize the wording on this page, but need to further check on this point.

9-15-1

 

Considering this limitation, when you are integration with the designer page, we typically suggest to create a designer profile and remove the send button there, so that you can your own send button to control the work flow.

PS: From the best of my knowledge, I don't know that the Send to Sign button triggers any Javascript notification. Could you share me some code snippets on how you are currently implementing it?

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Send to Sign

0 votes

Yes Duo, 

Currently, we are using a onespan event notification where as soon as the send to sign button is clicked, the package is activated and during this process, we are dispatching an event and listening to that event via pusher in javascript and than we are reloading that page and redirecting them to the next step(transaction status).

In addition, in the designer profile, we are using send to sign button of the iframe triggering the transaction signing process, I was looking for an end point which can trigger the same functionality as send to sign button but couldn't find an end point for doing so. If we can achieve send to sign with our own button, that would be the best solution. Please suggest. 


Reply to: Send to Sign

0 votes

Yes, Duo, this end point is working fine. Thank you 


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