Kalkulaatori seadistamine

Seadista kalkulaator vastavalt oma eelistustele.

Üldine

Configure calculator's environment, product, and behavior settings

Disain

Customize the calculator's appearance, colors, and layout to match your store's branding

Eelvaade

Preview of the payment calculator widget as it will appear in your store

Javascripti kood

Kleebi see kohta, kus kalkulaator peaks lehel olema kuvatud.

<div id="inbank-calculator_"></div>
<script>
!function(w,d,i,u){(function(){return new Promise(function(r,j){if(w.CalculatorWidget)return r(w.CalculatorWidget);if(d.getElementById(i)){var t=setInterval(function(){w.CalculatorWidget&&(clearInterval(t),r(w.CalculatorWidget))},100);return}var s=d.createElement("script");s.id=i,s.src=u,s.async=1,s.onload=function(){w.CalculatorWidget&&w.CalculatorWidget.init?r(w.CalculatorWidget):j("init not found")},s.onerror=function(){j("script load failed")},d.head.appendChild(s)})})().then(function(calculator){
calculator.init("inbank-calculator_", {
  layout: "default",
  variant: "calculator-indivy-plan",
  shop_uuid: "",
  product_code: "",
  amount: 0,
  template: "no_editable_amount",
  mode: "lavender",
  lang: "en",
  region: "ee",
  currency: "eur"
});
}).catch(console.error)}(window,document,"inbank-calculator-loader","");
</script>