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