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/vub8kzdt9yeg/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXbP6I_xkEL3d5JXCVu6rOnlaAbeBcWpoo4mQheqEzdq5-CJQwn4ZY2s1fq36R1vnSoFyp5G5wQ-jYEW");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzFlMTI4NmQ5MjJkYzJjYjI1OGYxYTE3NWU5MGE1ZjYxMzE0N2EyNTY1YzA1YjA4MDA3ZjAzZDkzZTlmYmU3OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDNUMDU6MjM6NTIuNzE5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1KUVdCb2tTUE8weldsTHpTS0ozcjVSQWtuVnVBOXBOV053MVMwZmdUV1lTR1dyWHNMQ1M0bXBVSVN3NDRqSnhTVTN6bUNPU19vcFJCcUZZZHVKdDB0V3BaUVlBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651bacdb9f58c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651bacdb9f58c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651bacdb9f58c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651bacdb9f58c', 'paypal', 'buynow', 'rect', 'gold');
});
}