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/me4mm9ngxuk8/plugin/44/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcD_jcVP2HYf2-E0GST3Oci6ucHIMGQ9knCVb9fyS5SIkho6fg8qebD0dqjF9m8MbzgalRLohLVHWIp6");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTE0ZDgxZWFkODFhMWRkYWE5MWRiY2FmZGU4ODdlZDFkNjYyNjUxMjQwMWU5MjNiYzZmODA0OTdjNDNhNzUzN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDhUMDY6NTM6NDEuNzAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9zXzBCQnFVM3Jmb1I3QjdSMTVhU1lHZXZrVGY2QVVNaGlsaGd4TmlXTDJqX29pckNrYnUxYXkxLVlTZTNHZWxzUU1iOHNHQWR3Q1pzU3Z6UGV0ZmJCcWxabXJ3In19");
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", "AcD_jcVP2HYf2-E0GST3Oci6ucHIMGQ9knCVb9fyS5SIkho6fg8qebD0dqjF9m8MbzgalRLohLVHWIp6");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTE0ZDgxZWFkODFhMWRkYWE5MWRiY2FmZGU4ODdlZDFkNjYyNjUxMjQwMWU5MjNiYzZmODA0OTdjNDNhNzUzN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDhUMDY6NTM6NDEuNzAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9zXzBCQnFVM3Jmb1I3QjdSMTVhU1lHZXZrVGY2QVVNaGlsaGd4TmlXTDJqX29pckNrYnUxYXkxLVlTZTNHZWxzUU1iOHNHQWR3Q1pzU3Z6UGV0ZmJCcWxabXJ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}