Skip to content

Compatibility

Supports all modern browsers and IE9+ browsers.

Introducing In ES 6 Format

html
<script type="module">
  import("https://checkout-sdk.mbtihomes.com/v1/js-sdk.min.js").then(module => {
    const JsPayment = module.default;
  });
</script>

Browser Introduction

Import the file directly in the browser using the script tag, and then use the js-sdk.min.umd.cjs file

html
<script src="https://checkout-sdk.mbtihomes.com/v1/js-sdk.min.umd.cjs"></script>
<script>
  const JsPayment = window.JsPayment;
</script>