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/lhxh7r3y9dna/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AUxZF1Tnd64A1QqV9XZaF9aNGH9ZfqML95ONZMqHjPPAsBRU9f-A-rV27l69iKprjeICpOc1tMZ2dx32");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGZjMzYzYzgzMWUzZDg4ZmM0MmUzOTUxOGNlNjI2YTMwMWU3YmMzYTIyZTVkZDI5NzY4MTFkY2E2NjE1MmY5OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTlUMjE6NTc6MDIuMzA3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9jajVLcnBtZm9mYUdLc3RDX2xnNFU3Tng0ZXlaaUpXYVFsWDFRTGJYZHFOX1BMaWZTc3o1LXJiSXBDWDJuOVpvenplQzc2azdDT0Z2YnVBbG1mdU1Eczh6Q093In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AUxZF1Tnd64A1QqV9XZaF9aNGH9ZfqML95ONZMqHjPPAsBRU9f-A-rV27l69iKprjeICpOc1tMZ2dx32");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGZjMzYzYzgzMWUzZDg4ZmM0MmUzOTUxOGNlNjI2YTMwMWU3YmMzYTIyZTVkZDI5NzY4MTFkY2E2NjE1MmY5OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTlUMjE6NTc6MDIuMzA3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9jajVLcnBtZm9mYUdLc3RDX2xnNFU3Tng0ZXlaaUpXYVFsWDFRTGJYZHFOX1BMaWZTc3o1LXJiSXBDWDJuOVpvenplQzc2azdDT0Z2YnVBbG1mdU1Eczh6Q093In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664a780e6613f', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('664a780e6613f', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664a780e6613f', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('664a780e6613f', 'paypal', 'buynow', 'rect', 'gold');
}