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