if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/0mx738cqevf1/plugin/10/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AdKh3U55XBrlYet93ChJs6Oakgb2f34jG-yP4XWJab45dRC-rxnl_0uJYv35vta9nk-tqXL2KDFs8K3k");
script.setAttribute("data-currency", "DKK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTRkYjFiNmNmNzllNDI4ZDU0Mzc2MGEzOTE1ZWQ1ZTk2ZjJhMTczNTQxN2U0ZDBmMjA0NTQ0ZmY4ODIwYmQyY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDMtMjZUMTI6NDA6NDcuOTQ4NzkwNDQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1WUmI3RnAzdGdGRnZ4SVhGaXpsQ2JJdXVmb0tIOGlJcVY1Yi1EekRaNTFNUkRDcVUyOWtGUko0T29VRFpfQlJ4T0NwOUlYWkJCQkZ2Q002V1JGbDFyREU0MXFRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AdKh3U55XBrlYet93ChJs6Oakgb2f34jG-yP4XWJab45dRC-rxnl_0uJYv35vta9nk-tqXL2KDFs8K3k");
script.setAttribute("data-currency", "DKK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTRkYjFiNmNmNzllNDI4ZDU0Mzc2MGEzOTE1ZWQ1ZTk2ZjJhMTczNTQxN2U0ZDBmMjA0NTQ0ZmY4ODIwYmQyY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDMtMjZUMTI6NDA6NDcuOTQ4NzkwNDQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1WUmI3RnAzdGdGRnZ4SVhGaXpsQ2JJdXVmb0tIOGlJcVY1Yi1EekRaNTFNUkRDcVUyOWtGUko0T29VRFpfQlJ4T0NwOUlYWkJCQkZ2Q002V1JGbDFyREU0MXFRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67e3fea28e833', 'paylater', 'paypal', 'pill', 'black');
});
} else {
renderPayPalButtons('67e3fea28e833', 'paylater', 'paypal', 'pill', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67e3fea28e833', 'paypal', 'buynow', 'pill', 'black');
});
} else {
renderPayPalButtons('67e3fea28e833', 'paypal', 'buynow', 'pill', 'black');
}