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/toigc4j4jjh2/plugin/58/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AfEV_lxBhvN8dsCFE42cCYKEGu0hzOAu30vRw9eHO4Sz-ZK2Ba0LfGjHwW-JdrpHPRDEU4VCVTpSNGN5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGFjNDA1ZTlkZWM2ZDJmYzEyMjlkY2JlYzVlM2E2NjNiMWZlOTE3NjZkNjA0OWVlMDE3YTc5OWEzYmRhNTM2Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDJUMTk6MDk6MzEuOTkwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBZLUlOMXRWZVJSVU41azNWVEViNm80aUxuUmZ2SnZjWFJkNF9uUU4zcTV6OXc2RE1WaXRmb2ExV3NJZ3dLUTRfU0NNN21IZzRtOHp6ZjA1b2QtaGlfaEl1dFBRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647a4b30e1ead', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647a4b30e1ead', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647a4b30e1ead', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647a4b30e1ead', 'paypal', 'buynow', 'rect', 'gold');
});
}