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/vdmrhyxgbgcn/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQvlznkZmKsiauFCsVcxwXs0e-L6y_itbilpNw0Uq0q3QNpu0hK618dz1v08QgnSPA2PDcVUI99Ct6Wj");
script.setAttribute("data-currency", "RUB");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzRkYzRkMGQzYWExNzRhMWE1NDM3YzI3Y2YxYTc4N2Q3OWMxMTdjZjAyNDg3ZTYxZTRjMmU2NTdhNGQwNTlmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMThUMTU6MzU6MjguMjU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBHQ083bHFnMUhob25SOVJlU0tyWHBTSzFGZ3dJbW12dV9KVVhXU0otNEhYbHdwbG9mclhfMnBFZTM0OFRlSXItdDRWeW1jSGc4Ny1FdjF5M1ExWXNpa2tBdFR3In19");
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", "AQvlznkZmKsiauFCsVcxwXs0e-L6y_itbilpNw0Uq0q3QNpu0hK618dz1v08QgnSPA2PDcVUI99Ct6Wj");
script.setAttribute("data-currency", "RUB");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzRkYzRkMGQzYWExNzRhMWE1NDM3YzI3Y2YxYTc4N2Q3OWMxMTdjZjAyNDg3ZTYxZTRjMmU2NTdhNGQwNTlmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMThUMTU6MzU6MjguMjU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBHQ083bHFnMUhob25SOVJlU0tyWHBTSzFGZ3dJbW12dV9KVVhXU0otNEhYbHdwbG9mclhfMnBFZTM0OFRlSXItdDRWeW1jSGc4Ny1FdjF5M1ExWXNpa2tBdFR3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6621460e87d7f', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6621460e87d7f', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6621460e87d7f', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6621460e87d7f', 'paypal', 'buynow', 'rect', 'gold');
}