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