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/kyx77bbyb2ry/plugin/3/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AWImiyq667Ax74-uFtRVO1ZZU23CapZWLyH-nHYyARSGxCMEFQ4AV2M-jBpau5Iu0dTYeApEWKX_blx9");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmIxYTk1NTczYjU4ZTQ4YWNjNzcxZDRlYjQ0Nzk0Mzk2YWJkOWYyMjkyMjIwMTg1MjhlOWUxMWI1YmI2ZWZiYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMThUMTE6MDg6MzEuNDM4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBlUWtIOGc3UkdiSU1RZW5ZeDlkb3VDdFBpMUh1c1ptM2o2Q3kwcnJUU3RMck5RMUloZk9oTDJzSFlDTnlSX19Xamw0ZG00amd1NW5OcWZPOTNGZ0lObUhKN0RnIn19");
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", "AWImiyq667Ax74-uFtRVO1ZZU23CapZWLyH-nHYyARSGxCMEFQ4AV2M-jBpau5Iu0dTYeApEWKX_blx9");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmIxYTk1NTczYjU4ZTQ4YWNjNzcxZDRlYjQ0Nzk0Mzk2YWJkOWYyMjkyMjIwMTg1MjhlOWUxMWI1YmI2ZWZiYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMThUMTE6MDg6MzEuNDM4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBlUWtIOGc3UkdiSU1RZW5ZeDlkb3VDdFBpMUh1c1ptM2o2Q3kwcnJUU3RMck5RMUloZk9oTDJzSFlDTnlSX19Xamw0ZG00amd1NW5OcWZPOTNGZ0lObUhKN0RnIn19");
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('6698f7af9cd0a', 'paypal', 'buynow', 'rect', 'blue');
});
} else {
renderPayPalButtons('6698f7af9cd0a', 'paypal', 'buynow', 'rect', 'blue');
}