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/hoa5gsm22yel/plugin/43/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Ad2NYmga6IKAXejDJdf4Qar8t8kEJc7I9y3wCQP2KkClhLIRMHTQ2cF_KvhITh0X9kevn5zfUKM_hDUD");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDNiMTJjYWIxMDI5ZTA0Y2E4MDc5OGJjN2NiZDI4ZTk2ODNiZWJhYWNjNDFlNDM0OGFmYThmNzA2YWIxNzU2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDZUMTk6Mzk6NDIuNzcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8zc3FIbm9JVkxfZ1JDaHVFSDlwYl9jOEQwTS1LdXdFbC1yM3hIV1dyTGlkM2QyRkZ3Vk1wMFVqbWd2ZU1MdFpra01KV2FMVi1zSVF0bXIwYnluNm1LUXVLdDBRIn19");
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", "Ad2NYmga6IKAXejDJdf4Qar8t8kEJc7I9y3wCQP2KkClhLIRMHTQ2cF_KvhITh0X9kevn5zfUKM_hDUD");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDNiMTJjYWIxMDI5ZTA0Y2E4MDc5OGJjN2NiZDI4ZTk2ODNiZWJhYWNjNDFlNDM0OGFmYThmNzA2YWIxNzU2NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDZUMTk6Mzk6NDIuNzcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8zc3FIbm9JVkxfZ1JDaHVFSDlwYl9jOEQwTS1LdXdFbC1yM3hIV1dyTGlkM2QyRkZ3Vk1wMFVqbWd2ZU1MdFpra01KV2FMVi1zSVF0bXIwYnluNm1LUXVLdDBRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}