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/zs91oaqyggwz/plugin/15/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUsFQ2st_2tY9voy_ev9sr_qnXxTbsEor3axDdVm478CeXapb8nAOgiYniZO7HIR2iPfjJavV0RADzu4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjZlZTQzNWE2YTljODg2MGE0NmZlNGE3NmUyYmZlNmM4Y2FiOGY0NGIzOWRhYTkzNTg5NTkzYmFiZTE2MTc2ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDFUMTM6MzU6MTYuNDI2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9VTHdjX3FER2hTSF8wM093Nl9PRTdhbE1uYzVXZkdsekVyVmJVWDY2UE9QbkxMaDJ6ZzR1N2dPdjUya0NEZm1aNjZtTGMySEdaZjNkOG1YdmN2OTRvRTRVMUpRIn19");
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", "AUsFQ2st_2tY9voy_ev9sr_qnXxTbsEor3axDdVm478CeXapb8nAOgiYniZO7HIR2iPfjJavV0RADzu4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjZlZTQzNWE2YTljODg2MGE0NmZlNGE3NmUyYmZlNmM4Y2FiOGY0NGIzOWRhYTkzNTg5NTkzYmFiZTE2MTc2ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDFUMTM6MzU6MTYuNDI2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9VTHdjX3FER2hTSF8wM093Nl9PRTdhbE1uYzVXZkdsekVyVmJVWDY2UE9QbkxMaDJ6ZzR1N2dPdjUya0NEZm1aNjZtTGMySEdaZjNkOG1YdmN2OTRvRTRVMUpRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6478a69f770e0', 'paypal', 'buynow', 'pill', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6478a69f770e0', 'paypal', 'buynow', 'pill', 'white');
});
}