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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2Y3NzBiZGNmYjgwY2U2NjY3NWNjOTI2NDBjNDIyNDI2M2ZmMWU5MjFmYTcxMzVmZWUyMzc1YTdmOWVkNmU4ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDE6MDc6MTIuOTk3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8xbFFvOWdJSkl6eW5OekpIT2ZVcXlLeGg5ejk2X2w2WmMxMjF2SVdQckh5V3AyNFpWWHRlYjBMWXFBTXJyaEdLMHdxUzZXZDV1ZFpNSFd5bkJVQnRMbHJ2b05nIn19");
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", "AZTjRxpj3vNir-Nyj12o4HU0JIlssCnKR3-YkQbUO6GSg1PFTvRUd1so7Z-IT_giy8T57bcTP1KE1tEP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2Y3NzBiZGNmYjgwY2U2NjY3NWNjOTI2NDBjNDIyNDI2M2ZmMWU5MjFmYTcxMzVmZWUyMzc1YTdmOWVkNmU4ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDE6MDc6MTIuOTk3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8xbFFvOWdJSkl6eW5OekpIT2ZVcXlLeGg5ejk2X2w2WmMxMjF2SVdQckh5V3AyNFpWWHRlYjBMWXFBTXJyaEdLMHdxUzZXZDV1ZFpNSFd5bkJVQnRMbHJ2b05nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
}