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/osw92wymh2z0/plugin/18/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AdjaBRF0f97ucONkXV68Fb_v3n4DYa61hZ2tjFFMQLlqhzrB-1NPfEX6iJ2QpGpgT3tXdLzaw-Msmgjc");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjE3NGM4ODg2MTU4ZTYzYjZhYzBhODQyYzIzNDE4NjNmNWM2NzdjZTFjYjlkNTI2YWVmMTg0NDM2MGI4ODJiNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMTFUMDY6NTk6MzYuMDc2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBwUUNiQ3IxWDZ1RXVxLTlROFdHTFd6Uld4VmZXNWtnS0dCNkthS3dGNjkzZjA1RFZNUk1MLXBXLUVBRFNFYTM5WllEdkNfX0Ixa2tQcnY0VHo5VFptVUZ1VmFBIn19");
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", "AdjaBRF0f97ucONkXV68Fb_v3n4DYa61hZ2tjFFMQLlqhzrB-1NPfEX6iJ2QpGpgT3tXdLzaw-Msmgjc");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjE3NGM4ODg2MTU4ZTYzYjZhYzBhODQyYzIzNDE4NjNmNWM2NzdjZTFjYjlkNTI2YWVmMTg0NDM2MGI4ODJiNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMTFUMDY6NTk6MzYuMDc2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBwUUNiQ3IxWDZ1RXVxLTlROFdHTFd6Uld4VmZXNWtnS0dCNkthS3dGNjkzZjA1RFZNUk1MLXBXLUVBRFNFYTM5WllEdkNfX0Ixa2tQcnY0VHo5VFptVUZ1VmFBIn19");
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('668f8f5787e59', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('668f8f5787e59', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('668f8f5787e59', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('668f8f5787e59', 'paypal', 'buynow', 'rect', 'gold');
}