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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTQ1MzRkYzc2NjJlMGY1MTcxODBhMzQ1ZTBkMDA3MGQ3YmNlMTcxZmMxNjBiYWRkN2Y5NjQ2OThmZmIzMGU5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDE6MjM6MzQuMTczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5Oa3oyQmhnWEtrNC1Bel9OTC12d0pUWkVEWmoteVBOZ00wSnd0RFdKQkNWWU5LZkNKb3c0MjlPTllwVTBlWkMwWDBkZ1JtcEFLYkRKUmJINXNROUpYSFgwcWl3In19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTQ1MzRkYzc2NjJlMGY1MTcxODBhMzQ1ZTBkMDA3MGQ3YmNlMTcxZmMxNjBiYWRkN2Y5NjQ2OThmZmIzMGU5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDE6MjM6MzQuMTczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5Oa3oyQmhnWEtrNC1Bel9OTC12d0pUWkVEWmoteVBOZ00wSnd0RFdKQkNWWU5LZkNKb3c0MjlPTllwVTBlWkMwWDBkZ1JtcEFLYkRKUmJINXNROUpYSFgwcWl3In19");
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('66dd027d0c972', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66dd027d0c972', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dd027d0c972', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66dd027d0c972', 'paypal', 'buynow', 'rect', 'gold');
}