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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTU1YWFjZjFjMjAxZGZmOTc3Y2M3OTY1MTIyOTc1NDk2N2RlMDEwNjJhYTJlM2QwZjJjYWFmMjAwNTVkMWI1NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDRUMjM6Mjc6MDQuNzI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBXSlF2Ym5GOERSNkdZM2MyT3R1M05fRmRDdnVZMjRMVGE3eS03b0RnVFBqNG5TblE3cWswNzFEcjYwWEMtY1lyUzRJVkxBU2VaNnRPaFEyZW13U2FUYjBfNVlRIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTU1YWFjZjFjMjAxZGZmOTc3Y2M3OTY1MTIyOTc1NDk2N2RlMDEwNjJhYTJlM2QwZjJjYWFmMjAwNTVkMWI1NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDRUMjM6Mjc6MDQuNzI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBXSlF2Ym5GOERSNkdZM2MyT3R1M05fRmRDdnVZMjRMVGE3eS03b0RnVFBqNG5TblE3cWswNzFEcjYwWEMtY1lyUzRJVkxBU2VaNnRPaFEyZW13U2FUYjBfNVlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}