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/f736v1rcp3a2/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AR8aXoyq9DnwCSwWY8gGEV1k3kUqALkHhnRBM5fVjrpnJCEuVKbspaPvDN_gy3s7R9F11l9FxVrr0pKT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDA5N2RjZjg4ODc1M2JjMDVkNzhhN2I1ZWEwZmE4NWYyM2NiZWE0OWI3Y2ZiYWEwYmE1NWIzNzU4MTRmYmZiZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjdUMDM6MTM6MTguNzc0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBwZFEyX3JjNnRzY0d4ZWs5OG9fQkFucUJNcFF6YWVOWUhBakdENjN6WU96UkE3LWlrZWJ2MGlILUdMazl6b2Vkdlg4aGQxNXZZWFduSnpXdXNyM0Zvd0FnS0pBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('656415548e9d8', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656415548e9d8', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('656415548e9d8', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656415548e9d8', 'paypal', 'buynow', 'rect', 'gold');
});
}