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/wi88jrn936vt/plugin/5/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZTjRxpj3vNir-Nyj12o4HU0JIlssCnKR3-YkQbUO6GSg1PFTvRUd1so7Z-IT_giy8T57bcTP1KE1tEP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTAzOTRmYWJmODc1ZGU3OWYxOGMyOTlkYWRhNWE0MDY3NjczYmZlOTJjMDExZjE0Nzc5MDk2YjVjNGQ1NTFmMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDdUMTg6MDY6NDIuOTg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jZkMzMG1fUDN4ZWNYRmxZWDZBWjlBcVd5LUxMSDE3VlZMc2ZibjVsbGlWRUFicXQ4OGtvX3RWb2JyTmppLVkxZWFzYkZ6VHh4ZGhYUlBSd3N5c0RGc0pURkpnIn19");
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", "AZTjRxpj3vNir-Nyj12o4HU0JIlssCnKR3-YkQbUO6GSg1PFTvRUd1so7Z-IT_giy8T57bcTP1KE1tEP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTAzOTRmYWJmODc1ZGU3OWYxOGMyOTlkYWRhNWE0MDY3NjczYmZlOTJjMDExZjE0Nzc5MDk2YjVjNGQ1NTFmMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDdUMTg6MDY6NDIuOTg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jZkMzMG1fUDN4ZWNYRmxZWDZBWjlBcVd5LUxMSDE3VlZMc2ZibjVsbGlWRUFicXQ4OGtvX3RWb2JyTmppLVkxZWFzYkZ6VHh4ZGhYUlBSd3N5c0RGc0pURkpnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}