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/1gqkbuhbmmsq/plugin/30/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZtnZXua5a6JaZ__0EK0ITAmr-UI6DTi0JBAxRJNOVHjR9CJdrmYaefBIQrrTisIH2F05nb4JWbgFXIm");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGM3N2U2NDc1NGQzNTFmZDc5YTBiZjBlNzZlYjY0MTAwMjA4MWQ5N2YxZmUxYzY1MmNjZWNlMmQzMWVjN2QyM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTFUMDc6MTE6MzkuOTE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1CLWd2ZnRObzM2eVJTYjU1Z3JrcmxuUHBnQjF1MHRNSFRZWFNQVWk5MFN2WGJ0R3lwbFdXZEdvemR6OHRTTktwcnFkUEJHOWJLSmZ1T09xbUtoWHdUaGNwR2l3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f4b4402d595', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f4b4402d595', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f4b4402d595', 'paypal', 'pay', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f4b4402d595', 'paypal', 'pay', 'rect', 'white');
});
}