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/r0te1pgozzmu/plugin/2/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfIJVw08T5LRvwATJ1eWjOI6a3hLaxGmU41yppkwcz-IHAR5gjenF0uslijnkmfIH4DSRyJVX5xPevhK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTdiMGYzODQ5NGQxMWI5YmY4NDFmMmRkMDE3ZDMxNGQwMjdiZjI5YTg2ZGVmNDM1NTEyNGI3ZWE1MGJhOTlmNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTFUMDY6Mzc6MzkuMTQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9fV1cyMG4tam04bC1oMXlGOUpaamZ6VXhhSVFoR3dFV1otSkQ1ZTREOTZfT01fWVpfYmpXMXNCWnVnU2RGLVhOamJmRVQxbzFRQmsycXJSREJqSlFuSEl1TnRnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AfIJVw08T5LRvwATJ1eWjOI6a3hLaxGmU41yppkwcz-IHAR5gjenF0uslijnkmfIH4DSRyJVX5xPevhK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTdiMGYzODQ5NGQxMWI5YmY4NDFmMmRkMDE3ZDMxNGQwMjdiZjI5YTg2ZGVmNDM1NTEyNGI3ZWE1MGJhOTlmNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTFUMDY6Mzc6MzkuMTQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9fV1cyMG4tam04bC1oMXlGOUpaamZ6VXhhSVFoR3dFV1otSkQ1ZTREOTZfT01fWVpfYmpXMXNCWnVnU2RGLVhOamJmRVQxbzFRQmsycXJSREJqSlFuSEl1TnRnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
}