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/2qy7kqu8nmyu/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWp-owJN-dwTv9x8wmY61gkLO7KkyHqJnoETVoAPrhfrVwYTh4fYw92kdBu_3AJhLszFn3BndcdhCAro");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTg0MTU3NWUzNDRhMWYxNzc3OTFmMTEyMGIzNTBkOTZhYzM2YzI3ZGU2MTJhOTdhYThlZmYwMDM1NzYwYjY5NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDgtMTRUMTY6MjQ6MzIuMDIxNDg3MTc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9SME1nMnZnQlJpaUxhWHlCYjRqQ1p0Njc2anhmNmU5bnBCaExLbmtHOEJVZC1XSGxUZmZlTkY3TEd1ZkRrY3NoVEo4TEhhVDZfYzcyaW9VYTl5ZHhieFZsNHR3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('689e1325b0e67', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('689e1325b0e67', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('689e1325b0e67', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('689e1325b0e67', 'paypal', 'buynow', 'rect', 'gold');
});
}