if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/hhf5y4a1b7cg/plugin/10/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ARTrqcBk_fZNwYMd_KyyP3vCYUQpCnj8qPXuAdCnpq7HBtMrUKEDuqmJpFKY9d3RmVAsXNfz774NwiIT");
script.setAttribute("data-currency", "RUB");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDhkOGNiNzc5ZWM0MGM3YTUyOTMxYWExNzY3MzNlODVhYmE4ZTAxNGU4NGY4NGEyYTI1ODQyODQzODA3ZjQxYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTQ6NTA6MzUuMjI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1yMURjcm9LU09EWnNuVHJyMFY3RXN5cG0tT2xQQ1Jlem9vek1RUC1XRmp5Mm1Zdkh0MWM5N3B0S2NjQkNkSjhiS1AyczlOYTJmdHRMRE5CeWZteXhFYlVzZmJnIn19");
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", "ARTrqcBk_fZNwYMd_KyyP3vCYUQpCnj8qPXuAdCnpq7HBtMrUKEDuqmJpFKY9d3RmVAsXNfz774NwiIT");
script.setAttribute("data-currency", "RUB");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDhkOGNiNzc5ZWM0MGM3YTUyOTMxYWExNzY3MzNlODVhYmE4ZTAxNGU4NGY4NGEyYTI1ODQyODQzODA3ZjQxYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTQ6NTA6MzUuMjI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1yMURjcm9LU09EWnNuVHJyMFY3RXN5cG0tT2xQQ1Jlem9vek1RUC1XRmp5Mm1Zdkh0MWM5N3B0S2NjQkNkSjhiS1AyczlOYTJmdHRMRE5CeWZteXhFYlVzZmJnIn19");
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('66058a71b3aac', 'paylater', 'paypal', 'pill', 'gold');
});
} else {
renderPayPalButtons('66058a71b3aac', 'paylater', 'paypal', 'pill', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66058a71b3aac', 'paypal', 'buynow', 'pill', 'gold');
});
} else {
renderPayPalButtons('66058a71b3aac', 'paypal', 'buynow', 'pill', 'gold');
}