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/h50oisx8lord/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARlkJrJ9BKZP9QoyH9szi0jcUSFHszG71ozorW-N9mBxp86U4-2STKl1wqGx3B5K-ZlFTfdBt7xe3rwe");
script.setAttribute("data-currency", "SEK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGFhN2ZiMWJkM2I2MjgyMDQ5NjBjNDY5Y2E2Y2I4NWQ5NDE5YjEzMGI2OTcyZmI0NWEyZTZiMWRkNmZlN2ExN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDZUMDA6NDc6MzMuMDM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1qcGZhUmoxS3pIcDJ5dXpsTTVPaDloejBDV0ZmeTdqRWFRQ3R5UDV0QVU4bzktVFg2RUF6aGI0WTFUSHRFdW5XTV9iVGZsX1hUZFh1cFFQb243cENfbkt3bWRBIn19");
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", "ARlkJrJ9BKZP9QoyH9szi0jcUSFHszG71ozorW-N9mBxp86U4-2STKl1wqGx3B5K-ZlFTfdBt7xe3rwe");
script.setAttribute("data-currency", "SEK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGFhN2ZiMWJkM2I2MjgyMDQ5NjBjNDY5Y2E2Y2I4NWQ5NDE5YjEzMGI2OTcyZmI0NWEyZTZiMWRkNmZlN2ExN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDZUMDA6NDc6MzMuMDM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1qcGZhUmoxS3pIcDJ5dXpsTTVPaDloejBDV0ZmeTdqRWFRQ3R5UDV0QVU4bzktVFg2RUF6aGI0WTFUSHRFdW5XTV9iVGZsX1hUZFh1cFFQb243cENfbkt3bWRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}