Installation

  1. Ajouter ces lignes à la fin de votre page HTML
<script
  src="<https://dbgt0bv51nea5.cloudfront.net/lbx-multi-service/lbx-multi-service.js>"
></script>
<link
  href="<https://dbgt0bv51nea5.cloudfront.net/lbx-multi-service/lbx-multi-service.css>"
  rel="stylesheet"
/>
  1. Insérer un div avec l’id lenbox-conso-widget pour montrer le simulateur sur votre site
<lbx-multiservice
  authkey="1575548537269x551789111684887000"
  vd="1575548961850x942705562301413600"
  test-env="true"
  retourUrl="<https://localhost/webhook>"
  paymentOptions="FLOA_4XP,FLOA_10XP"
  productId="text"
  description="text"
  image="<https://path.to/img.png>"
></lbx-multiservice>

Configuration

The lbx-multiservice tag used to insert the widget.

Parameter name Is Mandatory Expected Value Comments
authkey yes string Credentials : value from developer tab
vd yes string Credentials : value from developer tab
Optional params
test-env no boolean : default is "false" Set the application environment
retourUrl no url Webhook Url triggered after payment is finished
paymentOptions no string Free text
productId no string Free text (modifiable in widget as well)
description no string Free text
image no url Url to image of the product