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/jj998d2bu157/plugin/34/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AcA055irg4ZqWWdlYddPDMUmRuz9qHYT8ksyvjNmkjs5xB0ieDmolcg6Qjbyp_9gNPRTpcjPWMaX9ICL");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODNhMzgwOGY3MmY3Y2ZjMjVhZTg0NDg0NGRjNTQxZmM1MmY3Y2YwODRiNDhkM2Q4OGI4MjdlZmY2ODA0MmM5N3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMDdUMjE6MDY6MTQuMTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5hTmxEb2pQZ29OcmFkRTJ5bE5UT3JWSzJxX2dBdjl2ei1nUS01amlwcy1sVkVYYlZRX0h3Z3d0dVdNNGh6STY3T3N3bnZGQ0JrdVI1REwzNFVVdW9QMUt1M1hnIn19");
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", "AcA055irg4ZqWWdlYddPDMUmRuz9qHYT8ksyvjNmkjs5xB0ieDmolcg6Qjbyp_9gNPRTpcjPWMaX9ICL");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODNhMzgwOGY3MmY3Y2ZjMjVhZTg0NDg0NGRjNTQxZmM1MmY3Y2YwODRiNDhkM2Q4OGI4MjdlZmY2ODA0MmM5N3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMDdUMjE6MDY6MTQuMTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5hTmxEb2pQZ29OcmFkRTJ5bE5UT3JWSzJxX2dBdjl2ei1nUS01amlwcy1sVkVYYlZRX0h3Z3d0dVdNNGh6STY3T3N3bnZGQ0JrdVI1REwzNFVVdW9QMUt1M1hnIn19");
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('672d381748f07', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('672d381748f07', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('672d381748f07', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('672d381748f07', 'paypal', 'buynow', 'rect', 'gold');
}