if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/6n4uc1soxjpq/plugin/20/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ATPOCW8Wu6WHpJ1mxYS-2KErXFwMRQ_ldZWefCf3pC1UGmyiqgwqMSmHntGY4fqylkanxJmbvvndiyZe");
script.setAttribute("data-currency", "DKK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTdiYjg1MzE1MWYxOWRlOTM0ZDg2ZGQ3MGRjMDU1OTRhYThjYzYxNzIzZDA5M2I0YzM3YzA2OTk0YjVlOGM4MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDdUMjA6NDQ6MjYuNjQxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0zQV8tSW1KSHZMMXhBU0d3bWsxaER0a0hBNEprRmNpYU1sLUUzaDNGUDJyYm4wdjlvcWtfNTJFUzZwRldBeVBlWU1hRWNIYXFKY2xocHEtVlNmZUFyUEJwZEp3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ATPOCW8Wu6WHpJ1mxYS-2KErXFwMRQ_ldZWefCf3pC1UGmyiqgwqMSmHntGY4fqylkanxJmbvvndiyZe");
script.setAttribute("data-currency", "DKK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTdiYjg1MzE1MWYxOWRlOTM0ZDg2ZGQ3MGRjMDU1OTRhYThjYzYxNzIzZDA5M2I0YzM3YzA2OTk0YjVlOGM4MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDdUMjA6NDQ6MjYuNjQxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0zQV8tSW1KSHZMMXhBU0d3bWsxaER0a0hBNEprRmNpYU1sLUUzaDNGUDJyYm4wdjlvcWtfNTJFUzZwRldBeVBlWU1hRWNIYXFKY2xocHEtVlNmZUFyUEJwZEp3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663a9e3152f7f', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('663a9e3152f7f', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663a9e3152f7f', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('663a9e3152f7f', 'paypal', 'buynow', 'rect', 'gold');
}