Classic

Direct Download Link

0 votes

If the 'Signing completed' or email.complete is scraped for the Download link - it doesn't directly download the package. Instead, it opens the OneSpan link which has a Download button when clicked downloads the package. But, using the email link - is it possible to craft a direct download link (when opened just downloads the file)? Is it possible with the transaction and loginToken? I'm asking because scraping the email and generating the link is faster and more ideal than doing via API (an additional JSON post page doesn't have to be crafted, we can just generate the link).


Reply to: Direct Download Link

0 votes

If not possible can someone provide sample PHP code where we can use the transaction token from the scraped email, then call the API and cause it to download the package.


Reply to: Direct Download Link

0 votes

Hi there,

 

A probably more straightforward way is to enable "Deliver Signed Documents via Email" feature by enabling below flags in JSON, so that signed documents will be delivered as email attachments along the completion email.

{
  "signers": [
    {
      "email": "[email protected]",
      "firstName": "ALVIN",
      "language": "en",
      "lastName": "BAYGENTS"
    }
  ],
  "id": "Signer1",
  "deliverDocumentsByEmail": true,
  "type": "SIGNER",
  "index": 0,
  "name": "Signer1"
}

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


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