New widget v5
Integration
There is the possibility of integrating a new version of the widget, for this, you must assign the value "v5" to the HTML attribute: data-aplazame-widget-instalments="v5"
<div
data-aplazame-widget-instalments="v5"
data-amount="3900">
</div>
This version aims to simplify the integration for the installment payment widget.
note
The default values in this case are those shown in this documentation.
Note that when you change the values in the form it will be updated in the sample code.
<div data-aplazame-widget-instalments="v5"
data-amount="3900"
data-option-legal-advice="false"
data-option-default-instalments="6"
data-option-align="center"
data-option-slider="true"
data-option-customer-id="02667776Y">
</div>
| Parameter | Type | Required | Description |
|---|---|---|---|
| data-amount | decimal | Yes | Quantity to be financed in cents. This field can be omitted if the data-price is used. |
| data-country | ISO 3166-1 | No | Country where the sale will apply. The default value is ES. |
| data-option-legal-advice-always | boolean | No | If the legal text option is enabled, it will always be visible. The default value is false. |
| data-option-slider | boolean | No | Shows of hides the slider that lets the customer select the amount of instalments. |
| data-option-legal-advice | boolean | No | Indicates whether you should displaying the legal text after the widget. The default value is true. |
| data-option-default-instalments | decimal | No | Allows you to configure the number of instalments that the widget will display by default. |
| data-option-align | enum | No | Indicates widget alignment. Can be aligned at left or right. The default value is center. |
| data-option-customer-id | documentId | No | Indicates if the customer has a preapproved credit. |
tip
If you want to configure the widget according to your requirements you can use the configurator and decide which values you want to apply and with what look and feel.
- Configure the different parameters according to your requirements. Apply the colours you want, choose the alignment and decide whether you want your widget to show the legal text.
Configurator
<div
data-aplazame-widget-instalments="v5"
data-country="ES"
data-amount="14900"
data-option-align="center"
data-option-slider="true"
></div>