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/6sqyjas90wqo/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AclHc5nva419haVJDXXshZl39HGNEBfCb6jYwIVkrMPf1DyBdaAoUaFQN1Ew8jNKxme-k6YzzSqJbIET");
script.setAttribute("data-currency", "DKK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2JmZThlNzllN2I3OWMzMTY3ZjRlMDgyNDFkMjQ1NTY5OTIyZDQ4OThiMTI1YzRlYTZjMDZmYzkwNTFiMzI4NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTFUMTE6MTY6MjguOTM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9ROGNJS2o1WEc5NkdUVFZ0dDBjbXJjNEhtNXUtSnZTVnBpMEFNNnM5T0FJWjBjVVFZNC1TNWdwbkh2dkpQZDVja1ZOQ243OGxXVGVGdXI4bzhnUG5OUFdVWHVnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AclHc5nva419haVJDXXshZl39HGNEBfCb6jYwIVkrMPf1DyBdaAoUaFQN1Ew8jNKxme-k6YzzSqJbIET");
script.setAttribute("data-currency", "DKK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2JmZThlNzllN2I3OWMzMTY3ZjRlMDgyNDFkMjQ1NTY5OTIyZDQ4OThiMTI1YzRlYTZjMDZmYzkwNTFiMzI4NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTFUMTE6MTY6MjguOTM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9ROGNJS2o1WEc5NkdUVFZ0dDBjbXJjNEhtNXUtSnZTVnBpMEFNNnM5T0FJWjBjVVFZNC1TNWdwbkh2dkpQZDVja1ZOQ243OGxXVGVGdXI4bzhnUG5OUFdVWHVnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6617c68d93d0f', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6617c68d93d0f', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6617c68d93d0f', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6617c68d93d0f', 'paypal', 'buynow', 'rect', 'gold');
}