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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDAzZDc1ZTdjZGEzMzkwMjA5MWQ4NDNlNDA4YWRmYjE4NGNhMzc4YjAxMDlkNDJhMjNlMTJjNDY3Yjc2ODI1YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDRUMDM6NDU6NDQuMzMzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9nN1BiRXIyczM0djhkSEFJbUhCUzd3WFhZMnNPTEtNRTZ3eGFkOEwtNlB6YzBpZGhTWDItU3VJeEpITFNQZmVkWFZ5cWR2TXpGRTVnMXZ2SVRjdEw1X1ZGMG93In19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDAzZDc1ZTdjZGEzMzkwMjA5MWQ4NDNlNDA4YWRmYjE4NGNhMzc4YjAxMDlkNDJhMjNlMTJjNDY3Yjc2ODI1YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDRUMDM6NDU6NDQuMzMzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9nN1BiRXIyczM0djhkSEFJbUhCUzd3WFhZMnNPTEtNRTZ3eGFkOEwtNlB6YzBpZGhTWDItU3VJeEpITFNQZmVkWFZ5cWR2TXpGRTVnMXZ2SVRjdEw1X1ZGMG93In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}