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/6c82tk9xjern/plugin/41/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARx6mjt0llpEbrNTNBbelS_JR9EcAmei-69wuLyGg5Scew6Pn66WOv8kzcF94EuTdZgcNMudc2Xv84hg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWNhMzFiMjhlYzIzMjUyNDZlOWQyMTUxMTI1YTE5MDRlN2JjOTgzMTBkNDhmNTgxNWIxY2U4M2ZjNGNmOGI4M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjZUMTQ6MjI6NTYuNjczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU13eUxIdG9HVHJWQXlVV3BYeHM3RVVjeFJkeDBIbXdObVEwVkR6M2dpTVhNajI5WkFIeG92cGdQZlUySWh4ZUtaT3cyWEtWbWQzLUs2TktqdnZiU3c5d29kODRRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d296059b019', 'paylater', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d296059b019', 'paylater', 'paypal', 'rect', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d296059b019', 'paypal', 'pay', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d296059b019', 'paypal', 'pay', 'rect', 'gold');
});
}