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", "AQGBOle0F7Cy6hjV2GRqQ0zhml3rH1w-RFJMss1PmxvwEkIqXG7HQ0rtIEcZxbO9TP-8zZdBo8ytEtbi");
script.setAttribute("data-currency", "BGN");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmVkZGQwOGJlY2ViOGJjODczMjIxYzYwYmM4ZWFkNDA2ZTIwZTFlNzE5YjA0MGJkMWRlZTcyYzcwN2I1MzNhYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMTJUMjE6NDI6NTYuNTU0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU13YkN3LWxLNlJnc05xaE5KZWIwdUNhYndPV0diOUQyWGlORzNUUC04X29RUjlhUjB2YlZyZWZSRmVzekxHTjVWelVmWUpLNEFKZ3Fjb1lvMm9VamZoREdRZE1nIn19");
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", "AQGBOle0F7Cy6hjV2GRqQ0zhml3rH1w-RFJMss1PmxvwEkIqXG7HQ0rtIEcZxbO9TP-8zZdBo8ytEtbi");
script.setAttribute("data-currency", "BGN");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmVkZGQwOGJlY2ViOGJjODczMjIxYzYwYmM4ZWFkNDA2ZTIwZTFlNzE5YjA0MGJkMWRlZTcyYzcwN2I1MzNhYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMTJUMjE6NDI6NTYuNTU0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU13YkN3LWxLNlJnc05xaE5KZWIwdUNhYndPV0diOUQyWGlORzNUUC04X29RUjlhUjB2YlZyZWZSRmVzekxHTjVWelVmWUpLNEFKZ3Fjb1lvMm9VamZoREdRZE1nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}