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/0g0quyrt02bw/plugin/11/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AenfGOqcfCRRoWENV8qSKTdJWym3YUkQWybdsLDYvjMWv_0r3OE3UkmkW1VcFW73mLtfyYhCy_IjmBgt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDA2ZjY0NzIzMmJlM2JiZDg0ZDIxMjExMWJmNWI3NWYyNWNiMzgzOWNlNWQ0YzcxZTgwMmIwMzFlZTc1MTdhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMjlUMDQ6NDQ6MzYuNzM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1HTXEwdWdKem9xNUk5UlRLdTI0cFJGUGxlTUxhRzRreGRBTFhSSEk5V3Nwd0dIeVlwNHVLTDZVc28zQk1wb2c0T2d6M2tONmw3XzBYN2ZKY0tWQWpqSVNQWExRIn19");
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", "AenfGOqcfCRRoWENV8qSKTdJWym3YUkQWybdsLDYvjMWv_0r3OE3UkmkW1VcFW73mLtfyYhCy_IjmBgt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDA2ZjY0NzIzMmJlM2JiZDg0ZDIxMjExMWJmNWI3NWYyNWNiMzgzOWNlNWQ0YzcxZTgwMmIwMzFlZTc1MTdhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMjlUMDQ6NDQ6MzYuNzM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1HTXEwdWdKem9xNUk5UlRLdTI0cFJGUGxlTUxhRzRreGRBTFhSSEk5V3Nwd0dIeVlwNHVLTDZVc28zQk1wb2c0T2d6M2tONmw3XzBYN2ZKY0tWQWpqSVNQWExRIn19");
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('6770d6633a257', 'paylater', 'paypal', 'pill', 'silver');
});
} else {
renderPayPalButtons('6770d6633a257', 'paylater', 'paypal', 'pill', 'silver');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6770d6633a257', 'paypal', 'buynow', 'pill', 'silver');
});
} else {
renderPayPalButtons('6770d6633a257', 'paypal', 'buynow', 'pill', 'silver');
}