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/hoa5gsm22yel/plugin/43/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Ad2NYmga6IKAXejDJdf4Qar8t8kEJc7I9y3wCQP2KkClhLIRMHTQ2cF_KvhITh0X9kevn5zfUKM_hDUD");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDE3MzVmMzE3MWNlMDk1Zjk4ODM5NWFiMDE5ODU2N2I5OGVlNTc5NDFjMmRhNGJjMzhlZGUyZDBjMzJhNDhkOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6MTc6MjkuMDM5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9ZM1V0QXRnZ3hZUVVQQ0dILTNISjY4MTd2c1dBd0ViYnhQU3lNR0tYTGtxS3B5UXJybGpNNVlaVW1nakRScUtqbVNCakt4Vm5fdlNQYjRscU5fNGZwQ1NkTllBIn19");
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", "Ad2NYmga6IKAXejDJdf4Qar8t8kEJc7I9y3wCQP2KkClhLIRMHTQ2cF_KvhITh0X9kevn5zfUKM_hDUD");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDE3MzVmMzE3MWNlMDk1Zjk4ODM5NWFiMDE5ODU2N2I5OGVlNTc5NDFjMmRhNGJjMzhlZGUyZDBjMzJhNDhkOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6MTc6MjkuMDM5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9ZM1V0QXRnZ3hZUVVQQ0dILTNISjY4MTd2c1dBd0ViYnhQU3lNR0tYTGtxS3B5UXJybGpNNVlaVW1nakRScUtqbVNCakt4Vm5fdlNQYjRscU5fNGZwQ1NkTllBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}