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/6n4uc1soxjpq/plugin/20/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ATPOCW8Wu6WHpJ1mxYS-2KErXFwMRQ_ldZWefCf3pC1UGmyiqgwqMSmHntGY4fqylkanxJmbvvndiyZe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTAyYmVmYmI5OWM3MjI4MzhjZThmMGE0ZmZkNDZjZTU2OWNiNWJkZTA3MmI3N2ZjOTNmNzk2ZDY0OTVlZDczZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6MjI6NDkuNDEyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA4djhpTHQ2MWRNM3RBeERzaDM1LXItd0lnRzY0eDBKelM0ZGpZbGIxX2NrVURsLWNfM1k4YmZRRnBDdkFPZWtReF90NDBGQ3MzOFgwWG1YaDQwU2ZadzhzWHFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ATPOCW8Wu6WHpJ1mxYS-2KErXFwMRQ_ldZWefCf3pC1UGmyiqgwqMSmHntGY4fqylkanxJmbvvndiyZe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTAyYmVmYmI5OWM3MjI4MzhjZThmMGE0ZmZkNDZjZTU2OWNiNWJkZTA3MmI3N2ZjOTNmNzk2ZDY0OTVlZDczZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6MjI6NDkuNDEyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA4djhpTHQ2MWRNM3RBeERzaDM1LXItd0lnRzY0eDBKelM0ZGpZbGIxX2NrVURsLWNfM1k4YmZRRnBDdkFPZWtReF90NDBGQ3MzOFgwWG1YaDQwU2ZadzhzWHFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dcf95f7fefb', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66dcf95f7fefb', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dcf95f7fefb', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66dcf95f7fefb', 'paypal', 'buynow', 'rect', 'gold');
}