appendEQFinancingButton

appendEQFinancingButton(options)

Appends an EQ loan widget launch button to a specified HTML element.

Parameters

  • options (Object): Button configuration.
    • loadSubpath (String, optional): '/eq' | '/app/amount'
    • selector (String): CSS selector of the target element. If not provided defaults to "body".
    • data (Object, optional): Data to be passed when the button is clicked.
    • onClose (Function, optional): Callback function executed when the widget is closed.

Button Details

Text: "Finance with Tento"

Flow: Simplified equipment financing flow at http://apply.tento.co/eq

Allows to show product information via extra parameters.

data: {
        financing_amount: 1099,
        equipment_description: 'iPhone 17 Pro Max',
        equipment_image: 'https://image_url_here/iphone/17/pro_max.jpg',
}

See Configure to see all available options if you want to pre-fill information already collected from the user.

Example

Tento.appendEQFinancingButton({
      selector: '#button-container-financing-eq-flow',
      data: {
        financing_amount: 1099,
        equipment_description: 'iPhone 17 Pro Max',
        equipment_image: 'https://image_url_here/iphone/17/pro_max.jpg',
      },
});