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/n5ef6hkj5oe6/plugin/3/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Aa4fROmwgCE0sPVsoiDfFs62ogfuxC38eY8QFaOVCSLfq57WABBuxUKrDDLK-Gfg7tBPg0X-3iYBCv-J");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDRmYzdiYjEyN2NkNDMxM2UyMGI0ZDk4YTM1MGIxOWQyYTM2ZmM3ZDVhNDIxOTQxMzVkYjcxZjAwMjBkMWZiNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDZUMDk6MzU6MDMuNzgzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9lWFROM29XTVlKOVZKcXJ5STBNS0U4a1hScXNna0VFcGZuNHhnZU5yWW04ZlpqWWpiYlh6b2kwZk5OY01IUk95QXhfTUQzNXNPU2RZN0lxN1lIWWJPT3hJRUd3In19");
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", "Aa4fROmwgCE0sPVsoiDfFs62ogfuxC38eY8QFaOVCSLfq57WABBuxUKrDDLK-Gfg7tBPg0X-3iYBCv-J");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDRmYzdiYjEyN2NkNDMxM2UyMGI0ZDk4YTM1MGIxOWQyYTM2ZmM3ZDVhNDIxOTQxMzVkYjcxZjAwMjBkMWZiNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDZUMDk6MzU6MDMuNzgzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9lWFROM29XTVlKOVZKcXJ5STBNS0U4a1hScXNna0VFcGZuNHhnZU5yWW04ZlpqWWpiYlh6b2kwZk5OY01IUk95QXhfTUQzNXNPU2RZN0lxN1lIWWJPT3hJRUd3In19");
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('6638a80d23661', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6638a80d23661', 'paypal', 'buynow', 'rect', 'gold');
}