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