if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/e8231p6elykq/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZSLZhcmzPBF9xuSD2f0mynvgKHemo-8eDtI4UulXOagSpMWdYaj-GmguRT0IJrYUeh5ZryhX5An9_7X");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzlmZDk1OGY0MDMzN2FmZTZlNjNjODllN2NiMGFhYjJmZWJlY2VhOGUwNDI4NmMzMGRkMTNmNWJiMTdkZjI0NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDlUMTk6NTA6NTMuMTYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBuMEhjY2dEMnAxd3NpZ3ZSS2hRZnEwc3lISFh2TUJuRGpiOVpGeFB1Y1UtQ2NDemJYU1NwaE44S2Vrb0kwOHJMZDZQd01BUktoZ2FaUWxvd29VZXlfS0JuUWtnIn19");
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", "AZSLZhcmzPBF9xuSD2f0mynvgKHemo-8eDtI4UulXOagSpMWdYaj-GmguRT0IJrYUeh5ZryhX5An9_7X");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzlmZDk1OGY0MDMzN2FmZTZlNjNjODllN2NiMGFhYjJmZWJlY2VhOGUwNDI4NmMzMGRkMTNmNWJiMTdkZjI0NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDlUMTk6NTA6NTMuMTYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBuMEhjY2dEMnAxd3NpZ3ZSS2hRZnEwc3lISFh2TUJuRGpiOVpGeFB1Y1UtQ2NDemJYU1NwaE44S2Vrb0kwOHJMZDZQd01BUktoZ2FaUWxvd29VZXlfS0JuUWtnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('663d29290306f', 'paylater', 'paypal', 'pill', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663d29290306f', 'paylater', 'paypal', 'pill', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('663d29290306f', 'paypal', 'buynow', 'pill', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('663d29290306f', 'paypal', 'buynow', 'pill', 'black');
});
}