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/5bljt22wusd2/plugin/83/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQskFfw2hoc32dEw1UZMH2XAF1lmq5u1w1JJmTWUA26_aNUvMLaBdMz4eV17BSMEQbvjJB72d9BB7_fv");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDc2NTA4OTYyMTU4ODU4OWI1ZGU5ODU4MjYzZDU4NzcyZGFjZWZhZTk5MDI3MWJlNTQwMmUxZTlkMmVjYzE2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDYtMDJUMTA6Mjc6MDIuNTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5KX3BoMnBYcjRDb0lXS2FpeEwzOG1BM1dLX3JXS2V5eFVBSGNySWpBWXYzckNHczRCeW1fODBBYXNKblVnOEctYnVKbjdTaGZPOFZSMF9tZExIWjJWMXkzNUJRIn19");
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", "AQskFfw2hoc32dEw1UZMH2XAF1lmq5u1w1JJmTWUA26_aNUvMLaBdMz4eV17BSMEQbvjJB72d9BB7_fv");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDc2NTA4OTYyMTU4ODU4OWI1ZGU5ODU4MjYzZDU4NzcyZGFjZWZhZTk5MDI3MWJlNTQwMmUxZTlkMmVjYzE2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDYtMDJUMTA6Mjc6MDIuNTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5KX3BoMnBYcjRDb0lXS2FpeEwzOG1BM1dLX3JXS2V5eFVBSGNySWpBWXYzckNHczRCeW1fODBBYXNKblVnOEctYnVKbjdTaGZPOFZSMF9tZExIWjJWMXkzNUJRIn19");
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('665c4b3170755', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('665c4b3170755', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('665c4b3170755', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('665c4b3170755', 'paypal', 'buynow', 'rect', 'gold');
}