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/u4xi02l4177v/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARSy96EfpGs3kB2PXJRgt7BbbAyXobx1LvLN9P6_bONhfHR_UrOQn8C0taWwNEK2BMc9Qj1kndLcsX2h");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjAzOTE5MTk0OTA5Y2FjMWM4NDJlODhjNGE4YTg4NGMxOWFmN2RjODg4YzNlMjM1ZmU5ODU5ODEyOTY3OWVhMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjBUMjE6MTg6MjIuMjUxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBKbThqNHZJWHFick9lWGhieF84bk5qU0NoLWI5SDM4cUp2Z0w3Um1mMmZBVGxzMkNJd0ctSi1RN3U1RzBfWWN3Wkp5OVdnelE4QnpzS2lMeVVNWDJQckNhOEtRIn19");
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", "ARSy96EfpGs3kB2PXJRgt7BbbAyXobx1LvLN9P6_bONhfHR_UrOQn8C0taWwNEK2BMc9Qj1kndLcsX2h");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjAzOTE5MTk0OTA5Y2FjMWM4NDJlODhjNGE4YTg4NGMxOWFmN2RjODg4YzNlMjM1ZmU5ODU5ODEyOTY3OWVhMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjBUMjE6MTg6MjIuMjUxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBKbThqNHZJWHFick9lWGhieF84bk5qU0NoLWI5SDM4cUp2Z0w3Um1mMmZBVGxzMkNJd0ctSi1RN3U1RzBfWWN3Wkp5OVdnelE4QnpzS2lMeVVNWDJQckNhOEtRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('650b693b2ef4c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('650b693b2ef4c', 'paypal', 'buynow', 'rect', 'gold');
});
}