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/2j0d78tmpk5u/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUC15fjkpnldPnHslxnLn2wuMBXYH4zw7VDrUmbv4rQNP1DhLJPRKdoJpvPbvvjEmY4kVdSSOjwYzKZC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzNjZTE1ZWY0NTUyMTg0YjAwMmZjNTUwZjAwNWE1ODA4ZDdkNzBmYzAyN2I0NmJjYTBiOTFhOTQ1MjFmOTk1OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMTRUMTk6NDA6MjguNTQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1td2NIanVnMTA1MndLMWhyVHJZMTVBOU1Dc0ZkTHdLMU9aQVV5NkplUU9odzdYbmU2dGRBNzhteFRuWkhPc1YtRWRTaFNQQXVqeEdzUzVvYS1ob21fYnZMbkdRIn19");
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", "AUC15fjkpnldPnHslxnLn2wuMBXYH4zw7VDrUmbv4rQNP1DhLJPRKdoJpvPbvvjEmY4kVdSSOjwYzKZC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzNjZTE1ZWY0NTUyMTg0YjAwMmZjNTUwZjAwNWE1ODA4ZDdkNzBmYzAyN2I0NmJjYTBiOTFhOTQ1MjFmOTk1OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMTRUMTk6NDA6MjguNTQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1td2NIanVnMTA1MndLMWhyVHJZMTVBOU1Dc0ZkTHdLMU9aQVV5NkplUU9odzdYbmU2dGRBNzhteFRuWkhPc1YtRWRTaFNQQXVqeEdzUzVvYS1ob21fYnZMbkdRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('675ded054c1c4', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('675ded054c1c4', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('675ded054c1c4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('675ded054c1c4', 'paypal', 'buynow', 'rect', 'gold');
});
}