<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/hire-purchase/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=&period=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe><script>iFrameResize({log:false});</script>
Parameters:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/hire-purchase/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=&period=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe><script>iFrameResize({log:false});</script>
Parameters:
<iframe src="//partners.lhv.ee/en/widget/hire-purchase/compact/?code=XX-YYYYYYYYY&price=&period=&info_url=&price_based_interest="
width="320px" height="100px" frameborder="no" scrolling="no"></iframe>
Parameters:
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.hirePurchase()
loan.price = 500
loan.advance = 0
loan.period = 3
loan.interest = 10.9
loan.priceBasedInterest = false
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
If You want to use Your own HTML and just our JS to calculate monthly payment:
Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js
Define new LHV.hirePurchase class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).
Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(500, 0, 4, 15.9, false)
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/consumer-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/consumer-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<iframe src="//partners.lhv.ee/en/widget/consumer-loan/compact/?code=XX-YYYYYYYYY&price=&period=&interest=&info_url="
width="320px" height="100px" frameborder="no" scrolling="no"></iframe>
Parameters:
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.ApplianceLoan()
loan.price = 1000
loan.period = 60
loan.interest = 15.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
If You want to use Your own HTML and just our JS to calculate monthly payment:
Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js
Define new LHV.ApplianceLoan class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).
Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(1000, 60, 15.9)
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/appliance-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/appliance-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.consumerLoan()
loan.price = 1000
loan.period = 60
loan.interest = 15.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
If You want to use Your own HTML and just our JS to calculate monthly payment:
Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js
Define new LHV.consumerLoan class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).
Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(1000, 60, 15.9)
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/car-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/car-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.carLoan()
loan.price = 3000
loan.period = 72
loan.interest = 9.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
If You want to use Your own HTML and just our JS to calculate monthly payment:
Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js
Define new LHV.carLoan class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).
Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(3000, 72, 9.9)
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-repair-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-repair-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.homeRepairLoan()
loan.price = 3000
loan.period = 72
loan.interest = 9.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
If You want to use Your own HTML and just our JS to calculate monthly payment:
Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js
Define new LHV.homeRepairLoan class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).
Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(3000, 72, 9.9)
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-furnishing/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="400px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-furnishing/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.homeFurnishing()
loan.price = 1000
loan.period = 60
loan.interest = 15.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
If You want to use Your own HTML and just our JS to calculate monthly payment:
Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js
Define new LHV.homeFurnishing class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).
Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(1000, 60, 15.9)
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/health-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/health-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
Parameters:
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.healthLoan()
loan.price = 1000
loan.period = 60
loan.interest = 15.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
If You want to use Your own HTML and just our JS to calculate monthly payment:
Link to calculator JS from https://partners.lhv.ee/assets/scripts/calculator.min.js
Define new LHV.healthLoan class and set its parameters. All parameters are optional. Values set in this example are default values (so You know what they are).
Get monthly payment with function getMonthlyPayment(). Function returns object containing parameter payment. In case of error, this returns object containing parameter error. Returned object also contains all input (or default) parameters. You can give parameters directly to this function like getMonthlyPayment(1000, 60, 15.9)
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-loan//?code=XX-YYYYYYYYY&amount=&period=&interest=" id="" width="100%" height="640px" frameborder="no" scrolling="no" onload="iFrameResize({log:false});"></iframe>
Parameters:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/en/widget/home-loan/campaign/?code=XX-YYYYYYYYY&amount=&period=&interest=" id="" width="100%" height="600px" frameborder="no" scrolling="no" onload="iFrameResize({log:false});"></iframe>
Parameters:
<div id="lhv-bnpl-calculator-widget"></div>
<script src="https://partners.lhv.ee/assets/scripts/bnplCalculator.js"></script>
<script>
var loan = new LHV.bnplLoan();
loan.price = 400.00;
loan.setLanguage('en');
loan.createWidget('lhv-bnpl-calculator-widget');
</script>
Add the code below to your website and replace the loan.price value with the product price, which must be between 30 and 1500 euros. This will allow the calculator widget to dynamically calculate and display the monthly payment amount on your website. If the entered loan.price does not fall within this range, the calculator will not be displayed, and an error message will be logged to the browser console.
<script src="https://partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="https://partners.lhv.ee/assets/templates/bnpl.html?lang=ee" width="100%" height="500px" frameborder="no" scrolling="yes"></iframe>
<script>
window.onload = function () {
if (typeof iFrameResize === "function") {
iFrameResize({ log: false, heightCalculationMethod: "bodyScroll" }, "iframe");
}
};
</script>
Parameters: