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/7gwc281tpwqw/plugin/13/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcoKTVVEwo1cqD7rEIGdr0DT6r0n5X9XAhQmm5ds6lZ9WWDBbLdvD5tiPAcAoU6aZiFEw2bhdVLqt6zf");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWE1ZTMxYzllMDM3M2NkZjNiNmI4MTU3N2VkZTBlMTgxMGM5MTc3MTBhMTU5YjE2M2VlMjNmY2Y0ZTIxZDYzOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMTZUMTA6NTY6NDEuNjkwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4zWXZQX3NOekF0MXhRZmQzcmxHQVZRZ0pSY1VELW11WUIzYl9pb2REWDRseDRBQUc0WW1QWmV4QXcxU05GeDlOYlFBc3EtaGFGa2M3dlVfczRxX1lsUzJyTWt3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63c53b4cd6fd3', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63c53b4cd6fd3', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63c53b4cd6fd3', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63c53b4cd6fd3', 'paypal', 'buynow', 'rect', 'gold');
});
}