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/d033gxczsaj1/plugin/54/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaAqGlbuYjXOe7KY9vBorNVTyahF8Wghg_-2yrOA5XFuVLh5Fuq_gj8-qdyRJOEOGIXI5cWxL_vzsm6f");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWZkZWIzYzIwMGRhMWZkYTBkZDk2ZTA4YWQxNmFlNTVjOWViOWU0ZGZlMGQ5NDNjNGNhN2QyNjM2OGRhM2NkOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDlUMTI6Mzk6MzUuNTM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1BaUd2TWk4OXNWa3pWR1BJMlluaE1mbVExRXV5T1VDUnZzNDRqMURrZ1RndVhzQ0p0NURmOW9RRHR2aEVwY0FnVlpxa2daRWhBZ2w4blJUNEcyLXNsdm5ud05BIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AaAqGlbuYjXOe7KY9vBorNVTyahF8Wghg_-2yrOA5XFuVLh5Fuq_gj8-qdyRJOEOGIXI5cWxL_vzsm6f");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWZkZWIzYzIwMGRhMWZkYTBkZDk2ZTA4YWQxNmFlNTVjOWViOWU0ZGZlMGQ5NDNjNGNhN2QyNjM2OGRhM2NkOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDlUMTI6Mzk6MzUuNTM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1BaUd2TWk4OXNWa3pWR1BJMlluaE1mbVExRXV5T1VDUnZzNDRqMURrZ1RndVhzQ0p0NURmOW9RRHR2aEVwY0FnVlpxa2daRWhBZ2w4blJUNEcyLXNsdm5ud05BIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('657461565f533', 'paypal', 'checkout', 'rect', 'gold');
});
} else {
renderPayPalButtons('657461565f533', 'paypal', 'checkout', 'rect', 'gold');
}