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/i70yyq9ik3kl/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVuxuqLiI9YPSU8dOftea9ZlYfvEBKloBq9IgYKrG0okztbY3ogp8aCBNt2l2W4TNyFWSlSzn495y9oW");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGU0MWJkMDBiOGRjMjhmNjkyNGM5MGNjNzc3MzFjYzFjMWJhMGVkMjQxZDY1YWNhZTZhOTg3NmNjZWM3OTg4OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMzBUMDE6MjI6MjkuMjI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA1TzlGRWdBZWU4SEFsRlJnNTlnLTVvWENhQmxWR19SWG1NUERiMnNlSnFzSzctR1AyMGRsblIwWF9sd3pqT2owM3ZlV3FjNklaU1JUdlVZcUN3d1FkaFlEd3VBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bcfad4d5a56', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bcfad4d5a56', 'paypal', 'buynow', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bcfad4d5a56', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bcfad4d5a56', 'paylater', 'paypal', 'rect', 'gold');
});
}