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/cj55hindoc9t/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUtx5bvr_gPS_kMeTkCAIiCkH1GqJfCL5alafKSfhrm69cUjNLPnGdjAEiDBGe9-TXkxw9yWOR-QMPmC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmY1YTFlYWM4OGFjZGE5NDMwZWVlZTI5N2E2MTc5N2RkY2IyM2Q5N2QwMzFhNzliNWU3Y2ZiNjZlOWE0NmNjY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMDVUMTI6MzU6NDkuMTg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1sd1dGc2prUENXOC1md1ZQMU9YSVJqVU16SUhickZGUFhxcHRxTlhSZDdVWENXdEJXMV8xWVY0NS03dFBTbDByUnphbWhtX2dNNTh6U1NvWWFRVXVWd01lX0tRIn19");
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", "AUtx5bvr_gPS_kMeTkCAIiCkH1GqJfCL5alafKSfhrm69cUjNLPnGdjAEiDBGe9-TXkxw9yWOR-QMPmC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmY1YTFlYWM4OGFjZGE5NDMwZWVlZTI5N2E2MTc5N2RkY2IyM2Q5N2QwMzFhNzliNWU3Y2ZiNjZlOWE0NmNjY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMDVUMTI6MzU6NDkuMTg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1sd1dGc2prUENXOC1md1ZQMU9YSVJqVU16SUhickZGUFhxcHRxTlhSZDdVWENXdEJXMV8xWVY0NS03dFBTbDByUnphbWhtX2dNNTh6U1NvWWFRVXVWd01lX0tRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64550574c4d21', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64550574c4d21', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64550574c4d21', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64550574c4d21', 'paypal', 'buynow', 'rect', 'gold');
});
}