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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2U4MGQzNTI0MThiOGFkMDU0ZjU4MmRkYTcwNWU3NmE0OTZkMjNlOTNiYWRhZGVmYWNlYjc1MDI0MjJmNjQ3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDFUMDQ6MjE6MDQuNzA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1TVG1nOGlhbEp2bGozU19ZVGFJR1djR05iejMxLWtGOGF0cVpXRkt1NWxGZjlIbWZDNTVRNkJ0SkVoQTBla1M0OExlSzQ2WDFRM2dnVUFBR19XOWpDTVBpTDlRIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2U4MGQzNTI0MThiOGFkMDU0ZjU4MmRkYTcwNWU3NmE0OTZkMjNlOTNiYWRhZGVmYWNlYjc1MDI0MjJmNjQ3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDFUMDQ6MjE6MDQuNzA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1TVG1nOGlhbEp2bGozU19ZVGFJR1djR05iejMxLWtGOGF0cVpXRkt1NWxGZjlIbWZDNTVRNkJ0SkVoQTBla1M0OExlSzQ2WDFRM2dnVUFBR19XOWpDTVBpTDlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6519012765b0b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6519012765b0b', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6519012765b0b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6519012765b0b', 'paypal', 'buynow', 'rect', 'gold');
});
}