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", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWQyYjFjM2RiOTYxOGNmZDY4NWY2NDdjODYzODg1MjA5MmU2MWUzYzU0Njk0ZWZiOGRkN2QwYmI0NmU1YTUxZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDdUMDg6NDE6NTcuNzkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9Sa1IyOWdFZE5MeWdvaURXVTZvZnl4QkhCNWlwS2h1bUNUUExQanpqQ1VqWk9oSW9mREg5MVo1S2xaZGhxM2ZRamlMUzNWOG5hak1PRzhtRThKM0FOcXU5RGRBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
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", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWQyYjFjM2RiOTYxOGNmZDY4NWY2NDdjODYzODg1MjA5MmU2MWUzYzU0Njk0ZWZiOGRkN2QwYmI0NmU1YTUxZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDdUMDg6NDE6NTcuNzkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9Sa1IyOWdFZE5MeWdvaURXVTZvZnl4QkhCNWlwS2h1bUNUUExQanpqQ1VqWk9oSW9mREg5MVo1S2xaZGhxM2ZRamlMUzNWOG5hak1PRzhtRThKM0FOcXU5RGRBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dc1db4008ea', 'paylater', 'paypal', 'pill', 'black');
});
} else {
renderPayPalButtons('66dc1db4008ea', 'paylater', 'paypal', 'pill', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dc1db4008ea', 'paypal', 'buynow', 'pill', 'black');
});
} else {
renderPayPalButtons('66dc1db4008ea', 'paypal', 'buynow', 'pill', 'black');
}