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/dm2cz92gve1m/plugin/2/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ARhK_t_FXO6K2QgBm54XNU-18ugtqlGvPYqvDH27OmT6EpFVufmMk3p4u91Plub5l_i-1_6jpT04SX99");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDhhYmQxNzMxMmRmNzQ1YzY1ZGU1OTk0NmM3OGI1YTVmZjY3ZDMxYjI3OTU0NThhMmY3MGI0NDk5MzJiNjliZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjJUMDg6NTA6MDkuMTY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5UUGlCSnRhN21ndmhQQmpRRUZ6cEswMnZzQ3ZNVllPdWpyMU90RVhaXzY4LWk4RFNfV29HcXVkLW5MdjdfcUo0NV92bWFqWnRIb2pkeWhVS1JkYUt3bjBoaGtRIn19");
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", "ARhK_t_FXO6K2QgBm54XNU-18ugtqlGvPYqvDH27OmT6EpFVufmMk3p4u91Plub5l_i-1_6jpT04SX99");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDhhYmQxNzMxMmRmNzQ1YzY1ZGU1OTk0NmM3OGI1YTVmZjY3ZDMxYjI3OTU0NThhMmY3MGI0NDk5MzJiNjliZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjJUMDg6NTA6MDkuMTY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5UUGlCSnRhN21ndmhQQmpRRUZ6cEswMnZzQ3ZNVllPdWpyMU90RVhaXzY4LWk4RFNfV29HcXVkLW5MdjdfcUo0NV92bWFqWnRIb2pkeWhVS1JkYUt3bjBoaGtRIn19");
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('66c6fbc18c4e6', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66c6fbc18c4e6', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66c6fbc18c4e6', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66c6fbc18c4e6', 'paypal', 'buynow', 'rect', 'gold');
}