Acorn Finance
PODS FOOTER LENDER DISCLOSURE
INTEGRATION DOCUMENT

Description

This library provides a web-component to show disclosures for Citi Pay/Upgrade Indirect based on the order total. This can be integrated along with the Acorn Smart Widget, which has the functionality to control the disclosures web-component.

The disclosure web-component is in sync with the Acorn Smart Widget and gets hidden/shown based on different criteria. It also will have the same order total as the Acorn Smart Widget at any given time.

Parameters Library

Parameter Description Value
loanAmount Order total Required. Value ranges from $1,000-$100,000
hideDisclosures Used by Acorn Smart Widget to hide or show the disclosure. If passed on the web-component will override the Acorn Smart Widget control. Optional. Default false. Set it to true to hide disclosure.

Steps To Integrate

To integrate the lender disclosure web-component, follow the steps below:

Note: Ensure you have the correct version of the script in your code for the different PODS Environments:

  • Production: https://widgets-cdn.acornfinance.com/paw/v5/dist/af-pods-lender-disclosures.min.js
  • PODS Stage, Acorn's UAT: https://uat.widgets-cdn.acornfinance.com/paw/v5/dist/af-pods-lender-disclosures.min.js
  • PODS Test, Acorn's QA: https://qa.widgets-cdn.acornfinance.com/paw/v5/dist/af-pods-lender-disclosures.min.js
  1. Add the following script to the <head> of the html document.
  2. 
    <script async type="module" src="https://uat.widgets-cdn.acornfinance.com/paw/v5/dist/af-pods-lender-disclosures.min.js" onload="loadDisclosures()"></script>
    
  3. Add the following function to the script part of your code.
  4. 
    function loadDisclosures() {
      acornDisclosureParameters.loanAmount = 2900; // Order Total
      setAcornDisclosureWidget('acorn-pods-disclosure');
    }
    
  5. Add the following html to <body> where want to place the disclosure.
  6. <acorn-pods-lender-disclosures id="acorn-pods-disclosure"></acorn-pods-lender-disclosures>

Disclosure Widget Demo