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/tlmvhcnagxwu/plugin/56/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARMOXUHhevrZA6Ua6wemQ92w1J2883kdoLjn2er_sWY7TlPD7PGGbaZLkU07MclTpzLoQsS7C7riR6li");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2IyOTdkZmExMmJmOWNmZDA3Yzc3ZTYzNjlhZjE4MTNkZjNhNTQ5NmNkZTJlMjc4YTM0OTg2ZjMzMzFlZTJiMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMTE6NDI6MjIuNTY3MjAyNzI5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9pamI3bGpyS3drQ29iS0g4aGE1WmJhZURPOU5XYUFqcjlJUTBJWEtfMDRGM0FGUC1Vb1A0RlNCV3Y3TG4ybWE4M2c2b1hYQ2ZVc0ZkT2RFdXRjNGNqT1ZqODh3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ARMOXUHhevrZA6Ua6wemQ92w1J2883kdoLjn2er_sWY7TlPD7PGGbaZLkU07MclTpzLoQsS7C7riR6li");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2IyOTdkZmExMmJmOWNmZDA3Yzc3ZTYzNjlhZjE4MTNkZjNhNTQ5NmNkZTJlMjc4YTM0OTg2ZjMzMzFlZTJiMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMTE6NDI6MjIuNTY3MjAyNzI5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9pamI3bGpyS3drQ29iS0g4aGE1WmJhZURPOU5XYUFqcjlJUTBJWEtfMDRGM0FGUC1Vb1A0RlNCV3Y3TG4ybWE4M2c2b1hYQ2ZVc0ZkT2RFdXRjNGNqT1ZqODh3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ee76734b6d2', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ee76734b6d2', 'paypal', 'buynow', 'rect', 'blue');
});
}