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/orvp45ucbg2g/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYt8-Lw9wKXU1CCN3AlpKvpKbPO2bRgWb3rCGa2JeKdjejgklS3luoynigNYDRUbQ7JiOYeDCkgJmJq2");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjk3YjVkMjNkMDk2MTdjZDA3ZmVlZWMyMGE1NTQzNWNlZjhlNjJiYzhhNzQ1YjQwMWQ0ZTA5YTA3MDE5MWQ5MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMTRUMTA6MTU6MTQuMTAwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBOSHg0WHE0VEFIZ0ZDMnZPeS1CNjZDdWk2azdpTnd5bkdVcmY2Sk5SRWJkQ0VmVmJ3SC02ek0xWjNRd21VZVZpYUFwRGlrUnMxckJTMWhkUG1tcER1MjNTRjNRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6502e27d0a38f', 'paylater', 'paypal', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6502e27d0a38f', 'paylater', 'paypal', 'pill', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6502e27d0a38f', 'paypal', 'buynow', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6502e27d0a38f', 'paypal', 'buynow', 'pill', 'blue');
});
}