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/irjezq6bkesh/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUack2Uuazs95u0L77CbR2NTw5nAR1yJ3EIVze5KYmVq0FekcfwKk9DW21EdY1OnihgthjetaHN8oOXL");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzA3ZmU5ZDlkYjk1MDk4MWJlOTZlMWFkODE5OGFjOGUyOGJjZWFjMGI2NDM2ODZiN2E1ZGVhNjg1YmUxYTVlNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjdUMTg6Mzk6NTQuNDEzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9KakxDOXR6QVFLejctV1JhMF9CTDcwZFdmeGd6ZldTbTM4WjhOQkJWTVprdlJVZHJzVXd6YUtTWW9WcXlVN3lOTU9aM2ZVbHcxLVRWQVB4QWNWdE1RTV9HY3ZnIn19");
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", "AUack2Uuazs95u0L77CbR2NTw5nAR1yJ3EIVze5KYmVq0FekcfwKk9DW21EdY1OnihgthjetaHN8oOXL");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzA3ZmU5ZDlkYjk1MDk4MWJlOTZlMWFkODE5OGFjOGUyOGJjZWFjMGI2NDM2ODZiN2E1ZGVhNjg1YmUxYTVlNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjdUMTg6Mzk6NTQuNDEzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9KakxDOXR6QVFLejctV1JhMF9CTDcwZFdmeGd6ZldTbTM4WjhOQkJWTVprdlJVZHJzVXd6YUtTWW9WcXlVN3lOTU9aM2ZVbHcxLVRWQVB4QWNWdE1RTV9HY3ZnIn19");
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('6604717405cb4', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6604717405cb4', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6604717405cb4', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6604717405cb4', 'paypal', 'buynow', 'rect', 'gold');
}