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/gq23w60lfjh4/plugin/3/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AR9pbMQc_B3JbBxGZo8T5pQGDQZZK_TPOSvMKc1eblPdGUKQNMKF29Aia5ERdpvTJo4HUGhCPEaevpXu");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODFhNWRjZjQzMmM4YTUzMzUzMTUxYzRlMjk1Yzk3OTc4MTAyYmI5MTI5NmJlMzA3ZTg1M2EyODBkYmZiZjdlNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMjM6MjQ6NDAuMjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xVkI1WGlRSFd0LU1yc0ZpX3dKaXVyRmh6TFlOWjdTdkdYellaWWRkWEZyUEd6OHhaa2otWU9jQzJnRUkzbmRCMENJaW5RZ2R4VkhBRlJxUFNGTWZ2X0x2SHJBIn19");
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", "AR9pbMQc_B3JbBxGZo8T5pQGDQZZK_TPOSvMKc1eblPdGUKQNMKF29Aia5ERdpvTJo4HUGhCPEaevpXu");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODFhNWRjZjQzMmM4YTUzMzUzMTUxYzRlMjk1Yzk3OTc4MTAyYmI5MTI5NmJlMzA3ZTg1M2EyODBkYmZiZjdlNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMjM6MjQ6NDAuMjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xVkI1WGlRSFd0LU1yc0ZpX3dKaXVyRmh6TFlOWjdTdkdYellaWWRkWEZyUEd6OHhaa2otWU9jQzJnRUkzbmRCMENJaW5RZ2R4VkhBRlJxUFNGTWZ2X0x2SHJBIn19");
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('664551744c2df', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('664551744c2df', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664551744c2df', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('664551744c2df', 'paypal', 'buynow', 'rect', 'gold');
}