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/wxb1205wm6e0/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aa6MbjulOWu_fK-JI7YM6Pyfpoi6fBhUwWmnZRmWiqWE5OZ6088nWll5sx4a8OCElTn6eAEzhc3WDe9D");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODIyMjE2NTI1NzFhZGM1OTEwYTljOTkzZjlkNTZkZDI0YjJkYTMzYzhkNzM0NDAyZWZhMzU3YjJiNGQ5NzMzNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMTdUMDg6MzU6MTUuOTA5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU40WFdKa3NibjdFTnp1Q3NRVUVjLU9PTERyQUtNT2NRR1NTdWtweGIxWnV5UU5IWmxXMkFwVHVxQnlKYUV6a3RYdmlsb3czR1dsTFg2Y3dLMnd2c2szSTBwYVdBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('669786be4991d', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('669786be4991d', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('669786be4991d', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('669786be4991d', 'paypal', 'buynow', 'rect', 'gold');
});
}