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/fsxbsoqhfg6e/plugin/68/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQDbUHETw5sRUUsLM3jyAdOQGdC5pXHAuSiqy9GfZXflNR1sK45UcAGukA-3tq4P9HM_88JkW_nM9tGg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjIwY2ZkOWFjZGU3NGY5YWRlNzRiMzYzOGRmMjY0NTU1ZmE2NTZlOTJkNGJiZjAyNjU5YjMxMzY3MjU4ZjU0OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDFUMDQ6NTI6NDYuNTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5Ralh1eWtOdF9BbUN0NExmQmpnZ0RlV3E0Wk1CMmZQdHVLRE1qSGp6c1BKand2S21xZ2pLazVkLUFXYU40d1VPUnduYWFXaTdGSXcwUWVOa3I2NkxlRnpHc1hRIn19");
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", "AQDbUHETw5sRUUsLM3jyAdOQGdC5pXHAuSiqy9GfZXflNR1sK45UcAGukA-3tq4P9HM_88JkW_nM9tGg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjIwY2ZkOWFjZGU3NGY5YWRlNzRiMzYzOGRmMjY0NTU1ZmE2NTZlOTJkNGJiZjAyNjU5YjMxMzY3MjU4ZjU0OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDFUMDQ6NTI6NDYuNTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5Ralh1eWtOdF9BbUN0NExmQmpnZ0RlV3E0Wk1CMmZQdHVLRE1qSGp6c1BKand2S21xZ2pLazVkLUFXYU40d1VPUnduYWFXaTdGSXcwUWVOa3I2NkxlRnpHc1hRIn19");
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('6518fe53891a3', 'paypal', 'pay', 'rect', 'gold');
});
} else {
renderPayPalButtons('6518fe53891a3', 'paypal', 'pay', 'rect', 'gold');
}