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/3v3zu571blbu/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AW_8eb8V4d1n4VAsd4fSYA46yPspDW_eV7j7RfoaaUk6s4Tr-0Z6Dt86-vLNrcTWCUyYXQ2g3lULGsHa");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjZlYzU3MjQ4YWIyNjExOGEyZWYyMjY5ODQ0ODZlMWJkM2FhMzU0OTVhMzg4NzA2YTFkMWYxOTUxNzc1ZjA0M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjhUMTQ6MjM6MzIuMDI5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4xOTNUb2pZUk5uanZFSDB4VzBxOGYwWld5WDJBUjBmNDEzY2J6Nm96Mk9QZ3p2Sll6M2loQWZfMUYwcm9FMWR0WmxuTnlsOGVMZkRtQWYzNElCWFRiYUhfOTVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6422f9cfd9907', 'paylater', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6422f9cfd9907', 'paylater', 'paypal', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6422f9cfd9907', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6422f9cfd9907', 'paypal', 'buynow', 'rect', 'blue');
});
}