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/ea1mg3k08t8u/plugin/60/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aaj8tyivTb7ktEu_2y73Z6WltjUlmBL5jeaZzXVAAgV6fP2Ji85y0w37UGohmiU8Q-M19cMaasn4OCQH");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2FmOWQ4YjBjYjc3N2RjZTQyZDZiYjBhZDU1ZjkyYzY2MGFlYzUwYjM2OGEyYTdhMjcyMjE3NzZjNWI1NDE5NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjdUMDk6Mzg6NTAuMjU1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1nelJhdWhIbWFsZ050SER1NU96cUR6Wnk4eF9EY0ZWVUxHam1zMGpOT1lWb21pTUcyNjQtTTNlY2ZzeEx1UDZGRkhpUnhKZGl2RkR6WGJLRHV2T3BpY1pkbHFBIn19");
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", "Aaj8tyivTb7ktEu_2y73Z6WltjUlmBL5jeaZzXVAAgV6fP2Ji85y0w37UGohmiU8Q-M19cMaasn4OCQH");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2FmOWQ4YjBjYjc3N2RjZTQyZDZiYjBhZDU1ZjkyYzY2MGFlYzUwYjM2OGEyYTdhMjcyMjE3NzZjNWI1NDE5NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjdUMDk6Mzg6NTAuMjU1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1nelJhdWhIbWFsZ050SER1NU96cUR6Wnk4eF9EY0ZWVUxHam1zMGpOT1lWb21pTUcyNjQtTTNlY2ZzeEx1UDZGRkhpUnhKZGl2RkR6WGJLRHV2T3BpY1pkbHFBIn19");
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('6513fcb7addb4', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6513fcb7addb4', 'paylater', 'paypal', 'rect', 'gold');
}