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/kxcix632kyom/plugin/19/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AduFFj3ENqY-fwZ9ZuYVSQuyAGZMpn9ps2AtGks7l5D6uuFMgFih12uajDJX0oJS-wutqX3AWLI6sy0H");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjA3ZjU0YTZkNDc4YmZmMWMxM2I4MGM2ZmZhOTQzZjYzMjI2MmRhNzBkODNhOTFmYmY1MWVhNjc5MjFlM2Y0NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMDFUMDk6NTM6MjIuMTI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU04WUhITWxXTG1rQnNOU1RYV3BjMHBkVXJWcGc1NVpReWF1ZnQtSFlSU1BUdnJ5c3FNVUVhVllVMTJxSVA1N2RGUEhUd2ZrYm9SNE9jOWRSVmdwd2VIOGFWMjRnIn19");
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", "AduFFj3ENqY-fwZ9ZuYVSQuyAGZMpn9ps2AtGks7l5D6uuFMgFih12uajDJX0oJS-wutqX3AWLI6sy0H");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjA3ZjU0YTZkNDc4YmZmMWMxM2I4MGM2ZmZhOTQzZjYzMjI2MmRhNzBkODNhOTFmYmY1MWVhNjc5MjFlM2Y0NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMDFUMDk6NTM6MjIuMTI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU04WUhITWxXTG1rQnNOU1RYV3BjMHBkVXJWcGc1NVpReWF1ZnQtSFlSU1BUdnJ5c3FNVUVhVllVMTJxSVA1N2RGUEhUd2ZrYm9SNE9jOWRSVmdwd2VIOGFWMjRnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64280359f2fdd', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64280359f2fdd', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64280359f2fdd', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64280359f2fdd', 'paypal', 'buynow', 'rect', 'gold');
});
}