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/9p69inbunqf0/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcylkBVDI6oWljKC6V4UH9KJzBpxptqFveyvHZH_BkKKBc0MvhF9hRZosYWT4YcdOe5SAroa9ZmT0hPJ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGYxYjAzNzMwYTZlZGQ0MTUwNzRkZDE1ZTQ4ZDQ1MGRjNTg2ZWNiNjVjZDRjOWQ1Nzc5MjU2NDU4YjY2ODU3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTdUMTc6MTk6MzAuNDcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU50WDdzaG16NF9OR0owUlFHUzF5UUxwN2ZKc1dheDVqR3p0azdxd1hNM05NZ2h2YjhsWlQ0dnJjUzJ5ZEZEdmRIOFBqWU15LThpNkR1N09ZS3ZsY21fTVpuRkdRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fd23221ac5e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fd23221ac5e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fd23221ac5e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fd23221ac5e', 'paypal', 'buynow', 'rect', 'gold');
});
}