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/rgsrfv3g1jg1/plugin/31/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjliNjNiZDM0YTBmZGMwYjg5MTgzNTNlODllMTlhYjE3YWExNTA2MDdmM2RmOTkzNjlmZjBjOWU1YTkwZDcyZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDNUMDk6MDU6MDguMTg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU93SFBhNG9HajB4T1BIaUtqNDFHUjNTejNURkxVdFU3d18tZkp2eGYxTW9GeEFJc2Vna1VBakFiTnpsQUx2c2diTmlEMXZKUEhIM3I4VUJjWEItT2J0ZU54cEpnIn19");
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", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjliNjNiZDM0YTBmZGMwYjg5MTgzNTNlODllMTlhYjE3YWExNTA2MDdmM2RmOTkzNjlmZjBjOWU1YTkwZDcyZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDNUMDk6MDU6MDguMTg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU93SFBhNG9HajB4T1BIaUtqNDFHUjNTejNURkxVdFU3d18tZkp2eGYxTW9GeEFJc2Vna1VBakFiTnpsQUx2c2diTmlEMXZKUEhIM3I4VUJjWEItT2J0ZU54cEpnIn19");
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('66d6def0434a2', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66d6def0434a2', 'paypal', 'buynow', 'rect', 'gold');
}