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/b6frc44j1vgk/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQNtkpTDcz3zvtgF1rm3qlHA5axDDZofRK59-xR8Cr_Jbd1KHf6ZjhYSAEFciF1lfCyQS5uvV7G6OJi4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzIxNGM2NDY3NjE5MWMxOGQxNjg1OTBlMWQ0YjRkZjBhZTI0MmMyOTc5MWRiMDM1ZDZiYTBjOGJlNmY3NTBlYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDFUMTI6MjE6NTAuNDc3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9MR2ZLZnBZMVJIRGp1elRWVDV6V0RUMkc0d1pyTnFmV0pCRUNfcVNrM2N6ckZ6YzN1cTdrYkpWVUx1a0xzZ2RpbjVuYkFaX2RLSDdkV00tNEs1cTBveWdGaTZ3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('674c580245f7c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('674c580245f7c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('674c580245f7c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('674c580245f7c', 'paypal', 'buynow', 'rect', 'gold');
});
}