This page covers the scripts which can be useful for a proficient management of Tabby Payment App and UI components.
No price snippet
{%- liquid assign locale = localization.language.iso_code -%} <div id="TabbyPromo"></div> <script> (function() { const script = document.createElement('script'); script.src = 'https://checkout.tabby.ai/tabby-promo.js'; script.async = true; script.onload = () => { const locale = '{{ locale }}'; new TabbyPromo({ selector: '#TabbyPromo', locale, installmentsCount: '9', publicKey: 'yourApiKey', // specify your apiKey it should be a string merchantCode: 'yourMerchantCode', // enum: "default", "ksa", "KW" }); }; document.body.appendChild(script); })(); </script> <style> #TabbyPromo div:empty, #TabbyDialogContainer div:empty { display: block; } </style>
Was this page helpful?