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