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/zdh7dhw8nuee/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQVttkfe9846FidNd5vpGXc9lGu5uKGwAvxyrJ0JBUNujkz3BaIGZ8gTtRTc5oHUBqSwSQ3rqSbouI5b");
script.setAttribute("data-currency", "UAH");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjdjODVjNmNhNDVmMTc0ZjU3Mjk4NWUzNWEzNzAxZDg3ZjY5MjgyMzhkODRmZWY2ZTk5MTJkNzQ1ODZkMzIxM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjhUMTQ6NDY6MTcuNTg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU52MUZNOHZGQ0FoajBlUFBLVmZnNXpIbHBqM1F3bUM1a1JEN0czY3dHWGY2QU43bUpZY1ItX2J2eHk3SUIzT1BaSE9fTzdZRWRFYnZ0QTNMekgyT3gwRzBNalZ3In19");
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", "AQVttkfe9846FidNd5vpGXc9lGu5uKGwAvxyrJ0JBUNujkz3BaIGZ8gTtRTc5oHUBqSwSQ3rqSbouI5b");
script.setAttribute("data-currency", "UAH");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjdjODVjNmNhNDVmMTc0ZjU3Mjk4NWUzNWEzNzAxZDg3ZjY5MjgyMzhkODRmZWY2ZTk5MTJkNzQ1ODZkMzIxM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjhUMTQ6NDY6MTcuNTg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU52MUZNOHZGQ0FoajBlUFBLVmZnNXpIbHBqM1F3bUM1a1JEN0czY3dHWGY2QU43bUpZY1ItX2J2eHk3SUIzT1BaSE9fTzdZRWRFYnZ0QTNMekgyT3gwRzBNalZ3In19");
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('662e6157c4818', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662e6157c4818', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662e6157c4818', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662e6157c4818', 'paypal', 'buynow', 'rect', 'gold');
}