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/yx6x9qu2fxqp/plugin/35/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AStKFeiWq-8A9MuLNoMewhH5fdYcdtW7YUWyJN1u_X3tQjZcuT7A2u8zk-Q_8zAKs7B5_fe0YrMCvzqh");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDM3MDhmMTUxYWY0ZDM2ZTdkZDI5YWNjOTFkZDJhMjdlYjM5OGZlNmQ2ZGY1YzY1N2E2MjkwNDRlNTk5MDJjZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjZUMTk6MTg6MzAuMTg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1mS1RtNmc5VFRRY2Rjbzc1RTBPUUhUQU1BRkVOUV85TVVfYlIySjFYcWwwYlhuRG82M3ZnVlpSZEJVOWhYRUpiMGxWczRScDdVYVVBOFNCQUJNWTVFNkM0RDdBIn19");
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", "AStKFeiWq-8A9MuLNoMewhH5fdYcdtW7YUWyJN1u_X3tQjZcuT7A2u8zk-Q_8zAKs7B5_fe0YrMCvzqh");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDM3MDhmMTUxYWY0ZDM2ZTdkZDI5YWNjOTFkZDJhMjdlYjM5OGZlNmQ2ZGY1YzY1N2E2MjkwNDRlNTk5MDJjZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjZUMTk6MTg6MzAuMTg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1mS1RtNmc5VFRRY2Rjbzc1RTBPUUhUQU1BRkVOUV85TVVfYlIySjFYcWwwYlhuRG82M3ZnVlpSZEJVOWhYRUpiMGxWczRScDdVYVVBOFNCQUJNWTVFNkM0RDdBIn19");
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('662c0277591c6', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662c0277591c6', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662c0277591c6', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662c0277591c6', 'paypal', 'buynow', 'rect', 'gold');
}