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