if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/ahfxjtblf3cy/plugin/3/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQtPZUoIe2m28oEuvmLT9wCyaUqVKGhkinpY5Hy0vX1XafJ5jnC7Q3pxQ3YU54ZtoDLxIyBjcl90U6tz");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWM4ZDk5OTJmNzNmNTEzNzFlYzczNWY1ZmEyMGY3ZjQ5NGY0ZDRhMmE2MGIyNDI2NGYxNDM0MzBiOWU4ZDY3YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTI6MDU6MTIuMjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA3eG1pbGpzUE1teGlQQmNsY082MDhndG12WlhSa1lyYXlybjZabHlralhpZXFhUS0tS05sZU1URUdqN2FhZC1yTE1HTzRGa1l5YTRPYkV3cmNSRmFoLUtOZGhnIn19");
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", "AQtPZUoIe2m28oEuvmLT9wCyaUqVKGhkinpY5Hy0vX1XafJ5jnC7Q3pxQ3YU54ZtoDLxIyBjcl90U6tz");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWM4ZDk5OTJmNzNmNTEzNzFlYzczNWY1ZmEyMGY3ZjQ5NGY0ZDRhMmE2MGIyNDI2NGYxNDM0MzBiOWU4ZDY3YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTI6MDU6MTIuMjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA3eG1pbGpzUE1teGlQQmNsY082MDhndG12WlhSa1lyYXlybjZabHlralhpZXFhUS0tS05sZU1URUdqN2FhZC1yTE1HTzRGa1l5YTRPYkV3cmNSRmFoLUtOZGhnIn19");
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('662a4a5dccf5e', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662a4a5dccf5e', 'paypal', 'buynow', 'rect', 'gold');
}