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/qadol2fdwt1n/plugin/169/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AV074NH41Cwh9-sJUwBApX09AfEyYm9mdEInvMwGwaLkLPBFFIZpOduZ3ETdAFd7ZJDnUzEWdRubR8sw");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzQ1Y2M5OWJlNmU0MGQ3OWRmYjBhMTk2ZTc0NTI5NDRhMmQ2YTE1NTNhY2JhM2Q1YmRiYWE1NDU5NTg5MWFmYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMTBUMDc6NDc6MDYuMjgwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5LdEt3NHBKQnhLTTJFSC1HM21JWXZHblFnYjFxcDhWTngtZGtoWE4wS1dPX1R2RlduNjhtZV9qUlVJeGVRRjVuSllmc2NmTHBMXzdWSVpxZGthT043ZWVPNjRRIn19");
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", "AV074NH41Cwh9-sJUwBApX09AfEyYm9mdEInvMwGwaLkLPBFFIZpOduZ3ETdAFd7ZJDnUzEWdRubR8sw");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzQ1Y2M5OWJlNmU0MGQ3OWRmYjBhMTk2ZTc0NTI5NDRhMmQ2YTE1NTNhY2JhM2Q1YmRiYWE1NDU5NTg5MWFmYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMTBUMDc6NDc6MDYuMjgwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5LdEt3NHBKQnhLTTJFSC1HM21JWXZHblFnYjFxcDhWTngtZGtoWE4wS1dPX1R2RlduNjhtZV9qUlVJeGVRRjVuSllmc2NmTHBMXzdWSVpxZGthT043ZWVPNjRRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6484306a71e7a', 'paylater', 'paypal', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6484306a71e7a', 'paylater', 'paypal', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6484306a71e7a', 'paypal', 'checkout', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6484306a71e7a', 'paypal', 'checkout', 'rect', 'black');
});
}