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/ncahu2oicrg9/plugin/12/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcC7C7vfKvJC9g8ioU5CoKFmFESCUBzt1uT3CM5kPQV9x-33jUAhWsBAnyqlaXr4tTvXIcqA-QJ-UcVt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTNlMWI5YzY0OWVmYzMxN2Y0ZWFjMmJhMDg4MTc2MmQ4OTMxNDc3MzFiOThlYTViNDQ4NjliODdiOGRmYzQ0MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjhUMTE6MTk6MjEuOTAyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU03NF9EMm9kTjJneEJBRUpicXNJS3EyTndQUENWUExsX2RWb3dRdnNWd0hLc3Y1T0NhaTZ1cEh1R2I0aTVlalJZbkdYMVRYOHhGX2xMMHdqaFZob0V6S3BNdVlRIn19");
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", "AcC7C7vfKvJC9g8ioU5CoKFmFESCUBzt1uT3CM5kPQV9x-33jUAhWsBAnyqlaXr4tTvXIcqA-QJ-UcVt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTNlMWI5YzY0OWVmYzMxN2Y0ZWFjMmJhMDg4MTc2MmQ4OTMxNDc3MzFiOThlYTViNDQ4NjliODdiOGRmYzQ0MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjhUMTE6MTk6MjEuOTAyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU03NF9EMm9kTjJneEJBRUpicXNJS3EyTndQUENWUExsX2RWb3dRdnNWd0hLc3Y1T0NhaTZ1cEh1R2I0aTVlalJZbkdYMVRYOHhGX2xMMHdqaFZob0V6S3BNdVlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651568f64fde9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651568f64fde9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651568f64fde9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651568f64fde9', 'paypal', 'buynow', 'rect', 'gold');
});
}