if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/wyp6kt0q46oe/plugin/12/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "BAA19bN3evpQfhmnYJL_dVxVdN0jAyyDU6K-_Fdi1vP3KO4mcrsb2uxFvBuboWIoBFp_OO8He-Z9rkkLZM");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjdkZTM0NjE0NWYyZmY4MGMzNjllM2FiNzU0OTczZGY5ZDZiNzkxOGUwMDBiODdlMDA1NzgyMDM4YjE5NWRhOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMjE6MDE6NDIuMDEwNzI5NjE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xcmF4TWtwNGtpSW1DYVNqRk5DdjYtNDA1X3puaWNxdHR1OUdjdEd6dDlQdXNBUWF6TUlSSnR2UmtIdlBBZ3ctMnQ4UEF6T19UdXJ3ZTZoVFFIWDhndXJJRkdnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "BAA19bN3evpQfhmnYJL_dVxVdN0jAyyDU6K-_Fdi1vP3KO4mcrsb2uxFvBuboWIoBFp_OO8He-Z9rkkLZM");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjdkZTM0NjE0NWYyZmY4MGMzNjllM2FiNzU0OTczZGY5ZDZiNzkxOGUwMDBiODdlMDA1NzgyMDM4YjE5NWRhOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMjE6MDE6NDIuMDEwNzI5NjE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xcmF4TWtwNGtpSW1DYVNqRk5DdjYtNDA1X3puaWNxdHR1OUdjdEd6dDlQdXNBUWF6TUlSSnR2UmtIdlBBZ3ctMnQ4UEF6T19UdXJ3ZTZoVFFIWDhndXJJRkdnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}