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