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/we1zzgfuk6rc/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aa51itWhof50wkPk8CCr3HOKuwbClZFbkidm2DtqiPopJsKn6lSuLfec3_lTz3BzHB90_dGU1ZOTUPaM");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzA1NGE0NTNhZWUyY2EzMTgzMzdhZThlNmNjZDI0OGRkNmEyNTQ2ZTA0NTQ4YzEwZjY3NWNlZTNmZWE2MTk4NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDFUMDg6MDU6NDQuNjQ5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5nT1VFYXNCVUFDSjVXVnhLMG5xdUotN09GTG52dTJ0N3htVG42STdyaTlaNFNGTzdpb1ZFbDFpRGJrTktzU2ZXUFZzVVo3bjRwUXBvYWFuYUdLZjdBR2xLWjlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62beaad83fe44', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62beaad83fe44', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62beaad83fe44', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62beaad83fe44', 'paypal', 'buynow', 'rect', 'gold');
});
}