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/cuscmdgtb48a/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AYVE2YhHXiK3nYENSUSAI4Y1h4W_hlaUbI6piSBabMZgfRff8FMfgUts9hIh1SeJczpeWLxR_lj4tnEI");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzFlMTZiOGIxM2QwMjRhOTRjY2I5NzVhOWRlMjllMGQwYjQ5Mzg2NTEzNWIxYjE3OWU1NDUwYjdlNzRhYzU5MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDZUMTQ6MDA6NTQuMDg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB0UTNpanYyNWxyeFU2OWc0UEhKa0E3V2ZTV21uTDBiNlN0TGhOYjlPNk5iVVpreDZfNDIyN0tRRzdQcFYwck5BNWdCQWFOSFJpZDR3WUtTOFl6OEM1ZU91cHR3In19");
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", "AYVE2YhHXiK3nYENSUSAI4Y1h4W_hlaUbI6piSBabMZgfRff8FMfgUts9hIh1SeJczpeWLxR_lj4tnEI");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzFlMTZiOGIxM2QwMjRhOTRjY2I5NzVhOWRlMjllMGQwYjQ5Mzg2NTEzNWIxYjE3OWU1NDUwYjdlNzRhYzU5MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDZUMTQ6MDA6NTQuMDg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB0UTNpanYyNWxyeFU2OWc0UEhKa0E3V2ZTV21uTDBiNlN0TGhOYjlPNk5iVVpreDZfNDIyN0tRRzdQcFYwck5BNWdCQWFOSFJpZDR3WUtTOFl6OEM1ZU91cHR3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}