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/bms894nnplfo/plugin/101/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ASO0zdMJ0UmqI0nSeBMBiCFmaZv42jVIOh0R_2NQA5JcL_X4hGFU0ycktAUHFZFOh0NNBrOtjJra0m3v");
script.setAttribute("data-currency", "TRY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYWViY2UzZDZiZGNhNzk0YmFiNGRjMWQ4Y2M4ZTJkNjYxNjNiNzFjNzIwNDI2ZTQ0ZDU0M2VlMWUxNDU3YzE2ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjNUMTE6MjQ6MTUuNzk2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9UWXRoZ2puOHBqM2xvb2FLUlFPa2RCVXRMbXRKTmJ6T0wtamZSVER4WU1ISjRCQXJnOHY5Ui1KT3NqN0FyZW0xM3UtSEs5UkNtVnNzWks3MmN3TmtjNElnZDlRIn19");
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", "ASO0zdMJ0UmqI0nSeBMBiCFmaZv42jVIOh0R_2NQA5JcL_X4hGFU0ycktAUHFZFOh0NNBrOtjJra0m3v");
script.setAttribute("data-currency", "TRY");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYWViY2UzZDZiZGNhNzk0YmFiNGRjMWQ4Y2M4ZTJkNjYxNjNiNzFjNzIwNDI2ZTQ0ZDU0M2VlMWUxNDU3YzE2ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjNUMTE6MjQ6MTUuNzk2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9UWXRoZ2puOHBqM2xvb2FLUlFPa2RCVXRMbXRKTmJ6T0wtamZSVER4WU1ISjRCQXJnOHY5Ui1KT3NqN0FyZW0xM3UtSEs5UkNtVnNzWks3MmN3TmtjNElnZDlRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6627a6e348531', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6627a6e348531', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6627a6e348531', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6627a6e348531', 'paypal', 'buynow', 'rect', 'gold');
}