if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/9xi0ypdttb8m/plugin/27/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ARs2YO3tb9mq-Sf7AoyFHiI_2PyeLqIgJUo2HlyC8nx8ltTiSXpj6Ov_xxX1MzbTRlkj_lVxueksDc96");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWIwOWIwYzhjZTYwMjhjOWFiYTAyODZiYjZiYzExNWI4MWEzMjNjMzM0NDJmM2UxNmVlM2E0ZmVhYmM0ZTc1M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjZUMTk6Mzk6MTMuNjA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU84SDFuZHFvQThJQ3ZLYkxUVEFaMXNjdGtxRUxvNVRfZDd5R0NOZVh4dGJscloxZ1RvR2hiOXZTM05ka01rOHVPRWxKOG9nVFhlSWtMVjNpbUp6SlNsc3RxV25nIn19");
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", "ARs2YO3tb9mq-Sf7AoyFHiI_2PyeLqIgJUo2HlyC8nx8ltTiSXpj6Ov_xxX1MzbTRlkj_lVxueksDc96");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWIwOWIwYzhjZTYwMjhjOWFiYTAyODZiYjZiYzExNWI4MWEzMjNjMzM0NDJmM2UxNmVlM2E0ZmVhYmM0ZTc1M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjZUMTk6Mzk6MTMuNjA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU84SDFuZHFvQThJQ3ZLYkxUVEFaMXNjdGtxRUxvNVRfZDd5R0NOZVh4dGJscloxZ1RvR2hiOXZTM05ka01rOHVPRWxKOG9nVFhlSWtMVjNpbUp6SlNsc3RxV25nIn19");
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('6603312a0fff3', 'paypal', 'checkout', 'rect', 'gold');
});
} else {
renderPayPalButtons('6603312a0fff3', 'paypal', 'checkout', 'rect', 'gold');
}