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