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/lmwjqncbcw1e/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZiCYWs3tj_WzaPcYlv6da2-NlURM0PtJMiacMWwCik2Y2xVbo0yo_jWjT6lboEHGWfTIyr3M8s1YWvd");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzA2ZjY5ZDUyNzZmZWFjN2QzNWNhMTg2Zjg5NTI2ZDc3ZGExODVhYmJlZWE2ZThlNGM1ODdhZWEwMzdhMWE0M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjJUMTY6NTc6MDEuNDMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBTS1BLbm1sTGZWYTJOOVlYdHk4clJsTHJkWHhIN3pFaTM3VjRQNkJMMEgwS1pBSHdOVDhYQUdCNndvOU13bGdKWkI0MU9QNFZiQ09kNlRqTzNhcEs4RmM4TTdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628a6b5d13b18', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628a6b5d13b18', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628a6b5d13b18', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628a6b5d13b18', 'paylater', 'paypal', 'rect', 'gold');
});
}