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/03jtuzbg4pvm/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWfO-SQ4uucsdBxWHtgw2RlbCkCOCH1SG1KRwOrBppS2lZa3gnlW8pIJK95OU1A6RsxqMJwYpj5cvand");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTE2MjJjMWY1MjA2ZDQ3N2YxZGU2YmM4YzI5NDA4NjllMDQwNzJiNWY4Y2U5NTUzZjllNmM5Nzg2MjE3ZTllOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMTNUMjE6MDk6MjcuNzQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1SdHg3T2cwNHlLLU93RUZsb1p1N1NDWl9pTnltMlAyT0plRTVkMm1MR1E2YXFPSkpMaTB6WXE1QkJpYmFEeUtxMkVRZTA0MGNELXZKazVQc0QxNVRXY2tlNXZ3In19");
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", "AWfO-SQ4uucsdBxWHtgw2RlbCkCOCH1SG1KRwOrBppS2lZa3gnlW8pIJK95OU1A6RsxqMJwYpj5cvand");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTE2MjJjMWY1MjA2ZDQ3N2YxZGU2YmM4YzI5NDA4NjllMDQwNzJiNWY4Y2U5NTUzZjllNmM5Nzg2MjE3ZTllOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMTNUMjE6MDk6MjcuNzQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1SdHg3T2cwNHlLLU93RUZsb1p1N1NDWl9pTnltMlAyT0plRTVkMm1MR1E2YXFPSkpMaTB6WXE1QkJpYmFEeUtxMkVRZTA0MGNELXZKazVQc0QxNVRXY2tlNXZ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('640f9e0a23d66', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('640f9e0a23d66', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('640f9e0a23d66', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('640f9e0a23d66', 'paypal', 'buynow', 'rect', 'gold');
});
}