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/4izjife0qjkt/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATq8vncbzAXyVrjRecddUUMD6etPmc7MlXxvDIbd6Xy1E1Oyq8nDeZpyFzcPjL5MdrpxKD75uZfpjhAS");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGFkMGY4ZGRhYWM3NGFjN2JmODFjY2IwZWE1OTgzOGMwNDkxYTAxYmNmOTVmZDRmYWJmZTM5ZGMzNmU2MDgwNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMThUMDc6NTE6MDguNjIwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1maFhTS3J6eXNfLUs2OW1sU3BpOVFQejZoc195U1dRQTM1Z2N5R25hc1c2NXNNcEhvY0Fnei1qUUdqNGlkTzhSTmhLQ1p1Rjk2X2IwaVNOZi1xTnh2cGZvcEd3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('664860f6c0e22', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664860f6c0e22', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('664860f6c0e22', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664860f6c0e22', 'paypal', 'buynow', 'rect', 'gold');
});
}