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/ou66s1cvx9bh/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWoOU9ObqdOh1JkrDjkbo5GoC4A9FSrVE_eaDWMalhix0NYEFXjQxq7QVzY6Zkj3_5wR_JKpm5bFy5y8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWU1OWY5YzA5NDY4NTdkMTY0ZTNjZDQ3NTc4OGVkODY1Yzk0NzQwNDY2M2I5YTZhZDc4ZTZlOTA2ZjVjOTBiY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDZUMjA6MDI6MzMuMjg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU03eXozVGczbmVQRzlYcUVITDNKcHpTRmFHUDRla0dXSGR2UHgyRmw3VzJNcWFMRnNzNnVnQUltRW5SQ2ZhNHl3UGdlQ1VQU0N0LUc3a19IdVI5MDlWUlZiU2t3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e1606def842', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e1606def842', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e1606def842', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e1606def842', 'paypal', 'checkout', 'rect', 'gold');
});
}