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/tips1ysrev7h/plugin/27/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AW1kj6GKHp2Gi3ZEpfVEExS3Dnb-CTE61bL6fkITRMk9fwRx3MrnvXOsu9V6N8jybsOIac5LZ0CSrPup");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzhkNDNhM2NhM2QzZWJkOGQ5YTNjODJhNmY0MGM0YjMwMDJkMjYwZmZkNDQ1ZmViZTQ5NjQ1N2U2ZWFlODUzY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMTNUMTA6MDc6MTYuMzIyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU56X211RXVwOTA0WnRVLU5RVVlMR2dSLTYzSjg2Y2d5S04ySlVMeXBJZ2UtN0VwQW9NVnZoeGVOc1Z1TDFxcHpRNkE1cUNPa3ZPUVFKTlRMb1FPQVFUbGdvLXZnIn19");
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", "AW1kj6GKHp2Gi3ZEpfVEExS3Dnb-CTE61bL6fkITRMk9fwRx3MrnvXOsu9V6N8jybsOIac5LZ0CSrPup");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzhkNDNhM2NhM2QzZWJkOGQ5YTNjODJhNmY0MGM0YjMwMDJkMjYwZmZkNDQ1ZmViZTQ5NjQ1N2U2ZWFlODUzY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMTNUMTA6MDc6MTYuMzIyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU56X211RXVwOTA0WnRVLU5RVVlMR2dSLTYzSjg2Y2d5S04ySlVMeXBJZ2UtN0VwQW9NVnZoeGVOc1Z1TDFxcHpRNkE1cUNPa3ZPUVFKTlRMb1FPQVFUbGdvLXZnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}