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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGI1NDA0MjU3MzY0YWQxNjhiZGIyODM1YzQ4Yjk5MDMzY2EzOTJjNWQ3YWJiYmJiNWQxNTE5OTI2ZDE0ZWE1MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTlUMTc6MTg6NTQuODc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1adUhwOHV6YmpFUjRfQnU5R19ncFpBVnRlUEQ3akVJVXRCMHlyYmhyVzg5LUtCUkxmMlVxOUJrbWVoN3JMNmZJeXdoV25xQnRza0tVV3d2UWtDUW94clBOMEhRIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGI1NDA0MjU3MzY0YWQxNjhiZGIyODM1YzQ4Yjk5MDMzY2EzOTJjNWQ3YWJiYmJiNWQxNTE5OTI2ZDE0ZWE1MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTlUMTc6MTg6NTQuODc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1adUhwOHV6YmpFUjRfQnU5R19ncFpBVnRlUEQ3akVJVXRCMHlyYmhyVzg5LUtCUkxmMlVxOUJrbWVoN3JMNmZJeXdoV25xQnRza0tVV3d2UWtDUW94clBOMEhRIn19");
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('6622b25abc53d', 'paylater', 'paypal', 'pill', 'silver');
});
} else {
renderPayPalButtons('6622b25abc53d', 'paylater', 'paypal', 'pill', 'silver');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6622b25abc53d', 'paypal', 'buynow', 'pill', 'silver');
});
} else {
renderPayPalButtons('6622b25abc53d', 'paypal', 'buynow', 'pill', 'silver');
}