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/e8231p6elykq/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZSLZhcmzPBF9xuSD2f0mynvgKHemo-8eDtI4UulXOagSpMWdYaj-GmguRT0IJrYUeh5ZryhX5An9_7X");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjdjMTk5OGZlNTQzZTM0N2QzNDExNThjNmFmOTFkNTU2YTgwZTQwY2JiMTIyMGQ0Y2E4OTI4MDcxMTNjMDYyMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTVUMTY6MTU6NDcuNDE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9WenZzZ2w1bndsT1p0elM4bUg3aTZjOTczVWc3Y3lWWXVLc0U0NFJlMmVZZF9BTmdBenEzLXlnVC1wUlZBQlB6SmJTZWhidnNYbmdkMGJ0MWJEUTdURHRLUk9RIn19");
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", "AZSLZhcmzPBF9xuSD2f0mynvgKHemo-8eDtI4UulXOagSpMWdYaj-GmguRT0IJrYUeh5ZryhX5An9_7X");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjdjMTk5OGZlNTQzZTM0N2QzNDExNThjNmFmOTFkNTU2YTgwZTQwY2JiMTIyMGQ0Y2E4OTI4MDcxMTNjMDYyMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTVUMTY6MTU6NDcuNDE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9WenZzZ2w1bndsT1p0elM4bUg3aTZjOTczVWc3Y3lWWXVLc0U0NFJlMmVZZF9BTmdBenEzLXlnVC1wUlZBQlB6SmJTZWhidnNYbmdkMGJ0MWJEUTdURHRLUk9RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6554ef670877f', 'paylater', 'paypal', 'pill', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6554ef670877f', 'paylater', 'paypal', 'pill', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6554ef670877f', 'paypal', 'buynow', 'pill', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6554ef670877f', 'paypal', 'buynow', 'pill', 'black');
});
}