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/xj8d4sahw33f/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AbhxneadOsjfi2vov5MZvcbQpQ-Qv3hQnnLtfszi5jrEjw5Sm4BiNdVqhmlyYiLe567FxTNMUabKRh09");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGQwZjc1OTMyYWI3ZTcwNDNmOTcwNzk1YmU0OGNiYmY0Y2Q0ODIwYzEyNTc1M2U0MDJiZWVmYTNkNzhjZTRlZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDJUMjE6MjE6MDguNTA5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9Qazg1aHNubi04Y1RHNUFuMU5sRW9UOWw0QUwtTUVGWllja3ZkT1U3OHVOQi1pRGE2TXhIMHR0cm5wMWRKRndYUFM4SDYwbEkyT2hpdlZIZFJsYzlKZUJMcGt3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dc2e4b74f50', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dc2e4b74f50', 'paypal', 'buynow', 'rect', 'gold');
});
}