loadFinancingWidget(options)
loadFinancingWidget(options)Loads the Financing widget within an overlay or a popup window.
Parameters
options(Object): Configuration options for the widget.data(Object, optional): Custom parameters to be sent with the request.onClose(Function, optional): Callback function executed when the widget is closed.
Example
Tento.loadFinancingWidget({
data: { financing_amount: 5000 },
onClose: function(isSuccess) {
console.log('Financing widget closed:', isSuccess);
}
});