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/iubtu7qcuc0m/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUgwhbSR0e3-pK28Ymg7595MfWuv5yG3MyYH6jM-Q0RWs7jVYEVvz1AkC8dMXClFTsfA_NInx7B7IXZm");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzdjMWI1MjhiYjk5ZDMzNmNmNjI2MzM0OWI3MWY4OGJkN2Q0ZjllNzg1MjJlMmY0MDNiYWE0ZjRhYTJmNDVmZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDlUMDU6NTU6MTYuNjg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU95VlpzUXBaclBuSzd3VnlRRFRaSXB0ektNTHY0U2xCTUc1enhKbmdNSWZfcWZGUkIzR0NzQ3dEYXRnZGF4TFp4bmtSQ0FkeFY1ZEowT0pCOFBkRnJWdDZJbWZnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e497f3381e7', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e497f3381e7', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e497f3381e7', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e497f3381e7', 'paypal', 'buynow', 'rect', 'gold');
});
}