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