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/14/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AcoKTVVEwo1cqD7rEIGdr0DT6r0n5X9XAhQmm5ds6lZ9WWDBbLdvD5tiPAcAoU6aZiFEw2bhdVLqt6zf");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODk3OTZjM2M5NDVmMjQ4MDZhMmI5YjQxNmI4NDBkY2M5MDZmZmMxMjhlYzE4Mjg5ZGRjNGRjZGNjYWVkNTZlYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMjVUMjE6NTc6NDcuMjMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1jUUhQM2lYYlMxd0EwN0lFajRJZFFwNkRkWHV1QTZHaFVRT1pidUJEWVFLZC11M0tnQXpSYnpJUnlHLWNXN2k0ZUtZangzd3BnYlJNcXNfUnk1R0tQbkt2akJnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AcoKTVVEwo1cqD7rEIGdr0DT6r0n5X9XAhQmm5ds6lZ9WWDBbLdvD5tiPAcAoU6aZiFEw2bhdVLqt6zf");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODk3OTZjM2M5NDVmMjQ4MDZhMmI5YjQxNmI4NDBkY2M5MDZmZmMxMjhlYzE4Mjg5ZGRjNGRjZGNjYWVkNTZlYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMjVUMjE6NTc6NDcuMjMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1jUUhQM2lYYlMxd0EwN0lFajRJZFFwNkRkWHV1QTZHaFVRT1pidUJEWVFLZC11M0tnQXpSYnpJUnlHLWNXN2k0ZUtZangzd3BnYlJNcXNfUnk1R0tQbkt2akJnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6589fba86eb35', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6589fba86eb35', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6589fba86eb35', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6589fba86eb35', 'paypal', 'buynow', 'rect', 'gold');
}