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/toigc4j4jjh2/plugin/71/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AfEV_lxBhvN8dsCFE42cCYKEGu0hzOAu30vRw9eHO4Sz-ZK2Ba0LfGjHwW-JdrpHPRDEU4VCVTpSNGN5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWM4YzhhNzA5M2QzMmNhOWNjMDMyMDA2N2M0OGQyZGRlNjQyMDk3MmE4ZGIzOWI3MDY4ZjE3ODUxNmY0N2QxOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjJUMDY6MjU6NTkuMjg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBlSGpjZ2xXZFhRaE92V1N4V1RDeG94QkNzNFNIOXUybHVhd2FuOUw1ODhEY3gxc0JnREdhVkJwVS1ITml3VWRKYnVXbjItU3U1elAzWHZnYzNWLUdnN2NKS01BIn19");
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", "AfEV_lxBhvN8dsCFE42cCYKEGu0hzOAu30vRw9eHO4Sz-ZK2Ba0LfGjHwW-JdrpHPRDEU4VCVTpSNGN5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWM4YzhhNzA5M2QzMmNhOWNjMDMyMDA2N2M0OGQyZGRlNjQyMDk3MmE4ZGIzOWI3MDY4ZjE3ODUxNmY0N2QxOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjJUMDY6MjU6NTkuMjg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBlSGpjZ2xXZFhRaE92V1N4V1RDeG94QkNzNFNIOXUybHVhd2FuOUw1ODhEY3gxc0JnREdhVkJwVS1ITml3VWRKYnVXbjItU3U1elAzWHZnYzNWLUdnN2NKS01BIn19");
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('66260bb4ea416', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66260bb4ea416', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66260bb4ea416', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66260bb4ea416', 'paypal', 'buynow', 'rect', 'gold');
}