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/i1gbt867zq2p/plugin/11/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AeTIEpJ6UUhEcaKc4aGweZLdMjTzg9hkMQ-6iZQ3SsI4y-w4HfPkNAeRRvetUROJLqIIDPdCDIXb1xUJ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjllMTEyODJiOGJjYmQ1M2VkZWM3YzdkNjM2OTdhNjA1MTY1NDQzYzM1MTA1NzBjOGI2YmZiNTY0MTQ1NjY4YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDJUMTU6MjM6NDIuNzQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jVWZBN2hVcXhEQ0dYV1Q5TGlQeXVyN3JHWWozcXV1akhrVkNHUEhwLTI2Z3R5c3o5RGlUYUhRckZyS3RxT0N4VjRNdTY4U253ajM1UkV1ZnN2S2FWZ1RaWUtBIn19");
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", "AeTIEpJ6UUhEcaKc4aGweZLdMjTzg9hkMQ-6iZQ3SsI4y-w4HfPkNAeRRvetUROJLqIIDPdCDIXb1xUJ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjllMTEyODJiOGJjYmQ1M2VkZWM3YzdkNjM2OTdhNjA1MTY1NDQzYzM1MTA1NzBjOGI2YmZiNTY0MTQ1NjY4YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDJUMTU6MjM6NDIuNzQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jVWZBN2hVcXhEQ0dYV1Q5TGlQeXVyN3JHWWozcXV1akhrVkNHUEhwLTI2Z3R5c3o5RGlUYUhRckZyS3RxT0N4VjRNdTY4U253ajM1UkV1ZnN2S2FWZ1RaWUtBIn19");
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('674ddd2addbb1', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('674ddd2addbb1', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('674ddd2addbb1', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('674ddd2addbb1', 'paypal', 'buynow', 'rect', 'gold');
}