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/nmir1gwulx45/plugin/17/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVB8egWlFiFVGVFk_i6GacIT-9c1pJAhonl6PMx7j9eXErOAiBp_EP6vZ87NUCu7y74eA6k058cwdTYg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWZlMGU5MzIxMDljOGMwMWIzOGEyNDNlNWQ5YTRjNjBiZGQ4YTc5NzE0M2M5NzVhM2Q2YjdjYjhlZGI0ZGFkOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDlUMTE6NDM6MjIuNDY0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1GbHFBeWlLbnMyTHlkd0hrVF9OSHY4ZUtVeDZ6dnJGMXBzU1pKamN3ZnllcUxyTVRZXzZXcWVzYVFnYzhONXAyZ29vXzRwS0VkRnpyQ281TjhaWUFBZ1BZRGhnIn19");
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", "AVB8egWlFiFVGVFk_i6GacIT-9c1pJAhonl6PMx7j9eXErOAiBp_EP6vZ87NUCu7y74eA6k058cwdTYg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWZlMGU5MzIxMDljOGMwMWIzOGEyNDNlNWQ5YTRjNjBiZGQ4YTc5NzE0M2M5NzVhM2Q2YjdjYjhlZGI0ZGFkOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDlUMTE6NDM6MjIuNDY0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1GbHFBeWlLbnMyTHlkd0hrVF9OSHY4ZUtVeDZ6dnJGMXBzU1pKamN3ZnllcUxyTVRZXzZXcWVzYVFnYzhONXAyZ29vXzRwS0VkRnpyQ281TjhaWUFBZ1BZRGhnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6483188f5e3cd', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6483188f5e3cd', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6483188f5e3cd', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6483188f5e3cd', 'paypal', 'buynow', 'rect', 'gold');
});
}