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/qddd911h1zyd/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdRsnASrch6x0deabWprHds9mQj-LMDUL6mps_HbGmHALKwC5YzPfBbv-ifo3amDCaK3-oPm7JJ1ZPBH");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDQ0ODAxOGVjZDlmNzllYjRlMDlkNzhmYzVjYWJmMGQ1ZGJhZDE1ZTRjOWY1ZmE1ZjM1MGFhYTU3ZmVjYWYzYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjlUMDM6NDk6MjcuNTk5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5xQlFlc25xd1VNTmF1cmVBN1pwTnBpXzJJajZnVDVLa18yRkRNZFE5NGJNbE1ubFh0RGNZeU4tWnJpZ3Fic0RrOEMxVDJjWVRyZ3lBcnRUQndVejA0ZTNjdEFRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d5f1ca3f017', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d5f1ca3f017', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d5f1ca3f017', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d5f1ca3f017', 'paypal', 'buynow', 'rect', 'gold');
});
}