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