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/d6fedazio4ai/plugin/24/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaLruxa_dlPo3hP1JqgV2KeeR2eZPK8g3kOgpcMOgB_TnEst3V9d-OwXjoxo_TD9G8aU5QZSLBMpKZFp");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzYyZWMxM2QwMjE1NmY3YTJiM2ZjN2ZlYzdiZDI2ZWJkMTM2OGM5M2ZmYTA0MTk4N2RiYWZlYzllZDlhNDQzMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDRUMDI6MjE6NTguMTY0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBKVHRCamdUMTMwR2lLaFhMVVl5TXZVYVhLbWpKdzVTREEtSWN1MkVZZUdBUVFzYkh2QmlLVlZmODNSaE5vM0FzemJTZFFpbWRNc1RTX2hpZm93MlRoTVB4Q3JBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63ddc40ec97b8', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63ddc40ec97b8', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63ddc40ec97b8', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63ddc40ec97b8', 'paypal', 'buynow', 'rect', 'gold');
});
}