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/hmk3pe801ef7/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdwaFu-FuMAeQnK_XSqhrDcW6E5Otgt4spcOQm5o6GZfl4qIVyp9gmiebm09Let2JBRob78ICI_pVrf3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWE3OGMwNWU1MTMyZWIxOGY5NWM0NWNiZjM3MzBkZjVlM2YzZDM5M2VmNjM2MDY1Y2UwNzg0MWI1NzBjNGI2ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMTNUMTU6NDE6MTYuNDM5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1pM0g4MHRQRHQxR2s5YzU4c25Nek9HSUZsUjgxVHJBbUdoUmxkVzhrbWtjTXV4V2g2S0tXSHZCdzFFWHJYWUMzRmliNUpidkJvMElFOEFZSTJnWEJ1U1RlNmxnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('675c56bfcd2a1', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('675c56bfcd2a1', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('675c56bfcd2a1', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('675c56bfcd2a1', 'paypal', 'buynow', 'rect', 'gold');
});
}