if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/8ent9s2yxqb4/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AedFdIM6jUIjbT1Td0LBh0G4eDJbE4n5y-1k10i3V6_Nhui-7dMWybL3-ON6siza92iOiqp3vsa2IK8H");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjVhZWYyZjZhZGNiNTEwZDk3OTE3ZWNhYzlkOGJjNTk3M2U3YTYxOTIyNDRiZDE5ZjUxYTQxMjM3NWYzOTVkMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDRUMjE6MDg6NDkuOTIwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9iWkdjM2c3M2pfdmNvZGpsbE5ubWNDazlIYnQwaVlXMkhFNmRYWW1xdHlmbV9Qc2dCV0lVQURIa1BLdThXajZyMEJLU2hzTW1qV1phV3FLVVU5aDhBS3IyMXdBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63ded39789ca6', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63ded39789ca6', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63ded39789ca6', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63ded39789ca6', 'paypal', 'buynow', 'rect', 'gold');
});
}