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/r0te1pgozzmu/plugin/2/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfIJVw08T5LRvwATJ1eWjOI6a3hLaxGmU41yppkwcz-IHAR5gjenF0uslijnkmfIH4DSRyJVX5xPevhK");
script.setAttribute("data-currency", "TRY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWQ1Mjg3MDM1YTBjYzdmODdkZjcwNTI4MWUxYWVmNmQ4MDI4YzAzNjI3NDZlNGVlOWI1MjEyZjNiY2E5OTljNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMDFUMDM6MTU6NTUuMjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1qMy0xanBYZWhwWVZPYXBYM0c0aUFCRnJhNWpVTmp6Wm1ZemR3NEtzbWZOcXBNMWR2YVlma1VGWG5MM08wMzc2aXFqRU9OTUpZTTB0RlBPYVlhNUthb1JYUEJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AfIJVw08T5LRvwATJ1eWjOI6a3hLaxGmU41yppkwcz-IHAR5gjenF0uslijnkmfIH4DSRyJVX5xPevhK");
script.setAttribute("data-currency", "TRY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWQ1Mjg3MDM1YTBjYzdmODdkZjcwNTI4MWUxYWVmNmQ4MDI4YzAzNjI3NDZlNGVlOWI1MjEyZjNiY2E5OTljNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMDFUMDM6MTU6NTUuMjI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1qMy0xanBYZWhwWVZPYXBYM0c0aUFCRnJhNWpVTmp6Wm1ZemR3NEtzbWZOcXBNMWR2YVlma1VGWG5MM08wMzc2aXFqRU9OTUpZTTB0RlBPYVlhNUthb1JYUEJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
}