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/c4318g4qalz3/plugin/5/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVqh90PkZZsMnkN4MyR78mokchxky2fCi92qdxyFiwC4RC46kVTo1NWt7Ql9eCCrzWeXCseFW3wBvlqw");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTExZDJlNDg5NzliNmNjMDBmNDhiOTdhZDQ2OTA0NzhhOTUzMzI0YmUxMTkyMzk1MzJlMmE1Mjg3Yjk1OWE4NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMDM6MDg6MTcuNzA0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1va3NVeXFRUVZzZWVRSkdMY1JpTXZxb2RsT2FLVnhwb0txcEVJaElZMFRzOG9hUkQ4bGZxTk9LNG1zREpHaHZqWWE2Nkc4RzcxbklRMEJHRkdBaTI2M3lrbnhBIn19");
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", "AVqh90PkZZsMnkN4MyR78mokchxky2fCi92qdxyFiwC4RC46kVTo1NWt7Ql9eCCrzWeXCseFW3wBvlqw");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTExZDJlNDg5NzliNmNjMDBmNDhiOTdhZDQ2OTA0NzhhOTUzMzI0YmUxMTkyMzk1MzJlMmE1Mjg3Yjk1OWE4NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMDM6MDg6MTcuNzA0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1va3NVeXFRUVZzZWVRSkdMY1JpTXZxb2RsT2FLVnhwb0txcEVJaElZMFRzOG9hUkQ4bGZxTk9LNG1zREpHaHZqWWE2Nkc4RzcxbklRMEJHRkdBaTI2M3lrbnhBIn19");
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('662877a57e550', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662877a57e550', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662877a57e550', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662877a57e550', 'paypal', 'buynow', 'rect', 'gold');
}