if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/irjezq6bkesh/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUack2Uuazs95u0L77CbR2NTw5nAR1yJ3EIVze5KYmVq0FekcfwKk9DW21EdY1OnihgthjetaHN8oOXL");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGY5OGUyNDY1OTJlYWE0ZWQxMThhYTc2NTJhZTAwZjI4MDhhODI5NjM0N2VhNmU1OGZjYWYyNzNmMDAzOGE3NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMTlUMDA6NTg6MDYuNzA5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1QTFJDdmh6X3ZFUnI2QnhRa3dfb3NndThKZjYwWFkyeG1wNWRid3VUanFnMVIxbTROS0hfTWJGNkx4UUNDeTZyOTFIck5nQlpEOEs0NW5VNl9qZE5meW4xVHlnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6285961e48a81', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6285961e48a81', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6285961e48a81', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6285961e48a81', 'paylater', 'paypal', 'rect', 'gold');
});
}