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/k16ixzlxv4n7/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYU8RAysXlvAzxbVU-rAdKRkx7CFimrVgGUwc2X26M_daET1tCVkM_Sh2Y9Rq-FAt96S10lK7Vc39Sgi");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY5Y2NmMzU2YzFkYTcwMmY0MjMwNGM1YjhjZWZjOTAwYmRjMGZmZTczYTI3NmVkMTBiZGMyZTdmMDQzMGJjZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjlUMDU6MDY6MjkuMTc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5xeFp1SWltNDVHdXFGeVFjN1VxWi1MNy1QNWpFVjlieEpZNnRDS2o1bkllOFd1Y0dzOXU0RXBHSF9wcjlqdFFIRGthQk5sMmVBdUR4NTJWZXFyQ0JiQWY3a1lBIn19");
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", "AYU8RAysXlvAzxbVU-rAdKRkx7CFimrVgGUwc2X26M_daET1tCVkM_Sh2Y9Rq-FAt96S10lK7Vc39Sgi");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY5Y2NmMzU2YzFkYTcwMmY0MjMwNGM1YjhjZWZjOTAwYmRjMGZmZTczYTI3NmVkMTBiZGMyZTdmMDQzMGJjZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjlUMDU6MDY6MjkuMTc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5xeFp1SWltNDVHdXFGeVFjN1VxWi1MNy1QNWpFVjlieEpZNnRDS2o1bkllOFd1Y0dzOXU0RXBHSF9wcjlqdFFIRGthQk5sMmVBdUR4NTJWZXFyQ0JiQWY3a1lBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64743ebab29fc', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64743ebab29fc', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64743ebab29fc', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64743ebab29fc', 'paypal', 'buynow', 'rect', 'gold');
});
}