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/oh7wobfkmzqr/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Ab-lcacpXXxsJrGjoI5rbPxED_dN7P1S1JoJKHXsOEMPRrVZTe2-e-jlypwPcdSU9idgeUOADUh_B6Qb");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmMxMjZjMTdhYzRjYjZiMzNmODFiMjlhNWU1ZWJiODhmZDRhZmY2MmQ4YmQ2MzA4OWZjNjA0NDc4OWY2ZjY3MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjRUMTA6MDY6MzguNTk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5qMmM3V2huRWUxQlVQMEp6WjVTbEVzQUpYSlJvVENIbG5Sem8xckRkV2d1UDhvUFItX0JtUS1PUE41bm1RQ0JaT3JzRG9laGNYcUVBeC14c1VlaW9kR0o2X3d3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "Ab-lcacpXXxsJrGjoI5rbPxED_dN7P1S1JoJKHXsOEMPRrVZTe2-e-jlypwPcdSU9idgeUOADUh_B6Qb");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmMxMjZjMTdhYzRjYjZiMzNmODFiMjlhNWU1ZWJiODhmZDRhZmY2MmQ4YmQ2MzA4OWZjNjA0NDc4OWY2ZjY3MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjRUMTA6MDY6MzguNTk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5qMmM3V2huRWUxQlVQMEp6WjVTbEVzQUpYSlJvVENIbG5Sem8xckRkV2d1UDhvUFItX0JtUS1PUE41bm1RQ0JaT3JzRG9laGNYcUVBeC14c1VlaW9kR0o2X3d3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6510181b7f714', 'paylater', 'paypal', 'rect', 'black');
});
} else {
renderPayPalButtons('6510181b7f714', 'paylater', 'paypal', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6510181b7f714', 'paypal', 'buynow', 'pill', 'black');
});
} else {
renderPayPalButtons('6510181b7f714', 'paypal', 'buynow', 'pill', 'black');
}