if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/br7qpsh8asja/plugin/135/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Aeo87CeRWM8f7-wVa-47yaHJftmfVK1jEEByk2wglSP36Py0RBvog94BOZupliLgW5zP70y6nf4S-Dc5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzY5MDJlMmQ3OTg3ZDA1MGIxM2QzNzVmMzFhYzRhMmQ1NmU4ZGNhN2FjMDc3YTc1M2YxOTMxYTU4MzliNGUyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMTM6NTU6NDEuOTEwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9FamgtbnNhN3c2MzV4alRrV1hScldFRjZJM0RvT3NDbzM2RWtmcUhLalFSNm5Nd29Oc0QtV3ZEWFhUdFhFcktZSlBZVkd5ajNMM0VhRU1hXzctUnllZGFwU3lBIn19");
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", "Aeo87CeRWM8f7-wVa-47yaHJftmfVK1jEEByk2wglSP36Py0RBvog94BOZupliLgW5zP70y6nf4S-Dc5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzY5MDJlMmQ3OTg3ZDA1MGIxM2QzNzVmMzFhYzRhMmQ1NmU4ZGNhN2FjMDc3YTc1M2YxOTMxYTU4MzliNGUyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMTM6NTU6NDEuOTEwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9FamgtbnNhN3c2MzV4alRrV1hScldFRjZJM0RvT3NDbzM2RWtmcUhLalFSNm5Nd29Oc0QtV3ZEWFhUdFhFcktZSlBZVkd5ajNMM0VhRU1hXzctUnllZGFwU3lBIn19");
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('6606d1ef6f6ae', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6606d1ef6f6ae', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6606d1ef6f6ae', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6606d1ef6f6ae', 'paypal', 'buynow', 'rect', 'gold');
}