Initialize Lendica library and setup PayLater checkout button UI
Make sure you have completed these steps:
Place the PayLater button container
<!-- Place the PayLater button container inside the shopping cart -->
<div class="lendica-paylater-container"></div>
Initialization
Initialize Lendica and render the button.
// Initialize Lendica and render the PayLater checkout button
lendica.init().then(() => {
lendica.paylater.renderButton();
});