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/kju8397jro9u/plugin/18/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "BAAjuhZ6HIWtH--L0cfwc1jQkai5RPkK9-9YaXpyfAwBNZ9vVdbYC0zW0mF-tWcnRAgDsqqP6nLHc90ZAs");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTUzOWQwMmQ3YTZlY2YyYTIxZGZkZTRlNTY0YjA0NTk3YWY3MDZmY2RiYmM4YzkxMWJjMTQ0MzM0YjkxZWZmY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDJUMjA6NTE6MDIuMTM5OTQ5NjAyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1zYzRwR29ENGxKZWc4VGYzTWY3d0ktZktrNEw2d09ybHd0TEtNYjRSLWpxeFRYZWlTWVU2NXk1MExHMnhHSi1qMFJ5Tmo4WkJGM1BldjcydkRPTU1uckhKUUxRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "BAAjuhZ6HIWtH--L0cfwc1jQkai5RPkK9-9YaXpyfAwBNZ9vVdbYC0zW0mF-tWcnRAgDsqqP6nLHc90ZAs");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTUzOWQwMmQ3YTZlY2YyYTIxZGZkZTRlNTY0YjA0NTk3YWY3MDZmY2RiYmM4YzkxMWJjMTQ0MzM0YjkxZWZmY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDJUMjA6NTE6MDIuMTM5OTQ5NjAyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1zYzRwR29ENGxKZWc4VGYzTWY3d0ktZktrNEw2d09ybHd0TEtNYjRSLWpxeFRYZWlTWVU2NXk1MExHMnhHSi1qMFJ5Tmo4WkJGM1BldjcydkRPTU1uckhKUUxRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67eda35c5236c', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('67eda35c5236c', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67eda35c5236c', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('67eda35c5236c', 'paypal', 'buynow', 'rect', 'gold');
}