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/12z3frtncgcc/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Adtn6XM7WymSdzNDzvYGpwU2jDiIeL1Y-aF_kb88weyJ0omyl8coFI-8L4ZT4z0fbocCdOCv4uCJFt4J");
script.setAttribute("data-currency", "UAH");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmM0ZmNhYzYzMmNjZjNhZTc0NDY5NTNlYzUxM2Q4MmQ1MWIzOTAxNDVhZmMwZDVjMDFmMWVjNDY1ZDU2NzczZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTZUMjM6NDU6MzEuNjAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB0OVNZOHBrUjhsam9OQmxKV3FBMU4tWmR6dFE0OFpSbEZZYmFMS29WU2xmQzdQOWNKV0NibnAyZ24xTDBMaHVWaklFUVhud1NHbHV5T1ZsVW1pX01PUnROeTFRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65f6308042910', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f6308042910', 'paypal', 'buynow', 'rect', 'gold');
});
}