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/46jc6xkxmq45/plugin/20/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGFmOWQxNzA5ZWNjYzBmMzM2YTFlYmNlMTY5OGEwNTI1ZTI1MjNmZWQwMDllZmViMzAyMmM3ZjdkMWRkNmZmNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMDhUMjE6NDg6MzguOTE0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1nYVZIbHNpQ1k0cmtfM0Y2M1VDdnBfSUoyRkIzZFJpY3lMbHNCc3ZMRTlqeUg1VlZwemhLSGVKc2FHUjhKV0s2TVFiRXpjdHhJV0NFV3pvUW00d2VjSGJxUlpnIn19");
script.setAttribute("data-user-id-token", "");
script.setAttribute("data-merchant-id", "K6PLH4DPEC4N4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 0);
script.setAttribute("applePayComponent", 0);
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.src = "https://cdn03.plentymarkets.com/46jc6xkxmq45/plugin/20/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGFmOWQxNzA5ZWNjYzBmMzM2YTFlYmNlMTY5OGEwNTI1ZTI1MjNmZWQwMDllZmViMzAyMmM3ZjdkMWRkNmZmNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMDhUMjE6NDg6MzguOTE0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1nYVZIbHNpQ1k0cmtfM0Y2M1VDdnBfSUoyRkIzZFJpY3lMbHNCc3ZMRTlqeUg1VlZwemhLSGVKc2FHUjhKV0s2TVFiRXpjdHhJV0NFV3pvUW00d2VjSGJxUlpnIn19");
script.setAttribute("data-user-id-token", "");
script.setAttribute("data-merchant-id", "K6PLH4DPEC4N4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 0);
script.setAttribute("applePayComponent", 0);
}