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/gq23w60lfjh4/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AR9pbMQc_B3JbBxGZo8T5pQGDQZZK_TPOSvMKc1eblPdGUKQNMKF29Aia5ERdpvTJo4HUGhCPEaevpXu");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWQ4ZThjNzdkMjg2MTNhODE1NDJhMjU3MjhjOTZmMTVhY2VkMDE0ODRhYTk1ZGMxZWRjMGI1ZDA2ZmI0M2IyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMTNUMjI6MDU6MjUuNTczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU90eE80R2lQMGxPTkpmTHFXUnk5ZDhzZTExZVpYTktaR0VLdzhfZUptTV94SGU1QS1reWdwaGhFTWx3TTlBcEhuSXcwRmtJc0pMRjRacE84OFJyLUU2aVJDX1hnIn19");
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", "AR9pbMQc_B3JbBxGZo8T5pQGDQZZK_TPOSvMKc1eblPdGUKQNMKF29Aia5ERdpvTJo4HUGhCPEaevpXu");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWQ4ZThjNzdkMjg2MTNhODE1NDJhMjU3MjhjOTZmMTVhY2VkMDE0ODRhYTk1ZGMxZWRjMGI1ZDA2ZmI0M2IyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMTNUMjI6MDU6MjUuNTczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU90eE80R2lQMGxPTkpmTHFXUnk5ZDhzZTExZVpYTktaR0VLdzhfZUptTV94SGU1QS1reWdwaGhFTWx3TTlBcEhuSXcwRmtJc0pMRjRacE84OFJyLUU2aVJDX1hnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64387ca5c059c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64387ca5c059c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64387ca5c059c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64387ca5c059c', 'paypal', 'buynow', 'rect', 'gold');
});
}