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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGI4MWE1NzEzMzg1MGU1NjY5ZjdhNTFhMjA0ZDU0OWVlOWJlYmZmZTFlMGYxMjI0MjEyNjMzM2YxNTQxZTdmYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDRUMDk6NDk6NTIuNDAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5Qd3VjX3FvMDJGX2ZsSHpQdWpET2pEODd2MC16OFhxUXZZdXJKcFd1cXJNSVdGS2pmb2czLXh2Q3I4SGFPdC13RE44Q3N5M0JXMUx6SXlkcm10cmFjMW1DOGRRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63de2de7c72ae', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63de2de7c72ae', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63de2de7c72ae', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63de2de7c72ae', 'paypal', 'buynow', 'rect', 'gold');
});
}