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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzIyNDA4ZGE5NGU2Zjk2NWIwN2ZiODE0MDJmMWI0N2RkNGFhMjE2MmVjNGRmNjkwMGZmMDg2MmI4ZTU1OGY2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTJUMDU6MTc6MzUuMjM0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9HanpTVW12bEp0MHdtN0wzOWJUOWk2Uk9NVFhoaW5mZ0I4RXNEODJiZ1Y0T3VTdTE5YUJsMGhvVnpOWjIxMHB2eVBDc1RwUVUzaE9fMjNtVHF1cEdQZzEwQXhnIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzIyNDA4ZGE5NGU2Zjk2NWIwN2ZiODE0MDJmMWI0N2RkNGFhMjE2MmVjNGRmNjkwMGZmMDg2MmI4ZTU1OGY2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTJUMDU6MTc6MzUuMjM0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9HanpTVW12bEp0MHdtN0wzOWJUOWk2Uk9NVFhoaW5mZ0I4RXNEODJiZ1Y0T3VTdTE5YUJsMGhvVnpOWjIxMHB2eVBDc1RwUVUzaE9fMjNtVHF1cEdQZzEwQXhnIn19");
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('670a11cb692eb', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('670a11cb692eb', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('670a11cb692eb', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('670a11cb692eb', 'paypal', 'buynow', 'rect', 'gold');
}