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