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