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/wyp6kt0q46oe/plugin/12/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AYqTs0y6gCQLNv8m-LHFeT9blUfwUOyayIYbvg-YtacCcXf7rmgorzcFCrsg2I4yMa9f22oIpKDB40AR");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTg2MGI1ZDY3ODNiOTViYTZjZjFkMGI0MWNhNWQ1YjFkNmQ5NDk0YWNjNWI0NGY0ODRlZDVkZWM2ZDQzZWNlOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDRUMTU6MDE6MTYuOTY3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVAybEFqQWhMR2VrUkZjdS1tVE9yRmNlUWtMRUJMcUNIM19lbzQyb0lsRXF0S1M2UlB3cmctbVdSb3VaY19XeVJmTEhtSXl5U3ZDczdNaGhLTVBJTTF4Tm1RenZnIn19");
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", "AYqTs0y6gCQLNv8m-LHFeT9blUfwUOyayIYbvg-YtacCcXf7rmgorzcFCrsg2I4yMa9f22oIpKDB40AR");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTg2MGI1ZDY3ODNiOTViYTZjZjFkMGI0MWNhNWQ1YjFkNmQ5NDk0YWNjNWI0NGY0ODRlZDVkZWM2ZDQzZWNlOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDRUMTU6MDE6MTYuOTY3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVAybEFqQWhMR2VrUkZjdS1tVE9yRmNlUWtMRUJMcUNIM19lbzQyb0lsRXF0S1M2UlB3cmctbVdSb3VaY19XeVJmTEhtSXl5U3ZDczdNaGhLTVBJTTF4Tm1RenZnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67506fa055c25', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('67506fa055c25', 'paypal', 'buynow', 'rect', 'gold');
}