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.js";
script.setAttribute("data-client-id", "ATPOCW8Wu6WHpJ1mxYS-2KErXFwMRQ_ldZWefCf3pC1UGmyiqgwqMSmHntGY4fqylkanxJmbvvndiyZe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzBlNzU2Zjk0MDE0MmY2OTlmNGY4YzkzYWNjMWFmNzg2OThmZjg4Y2M1OTg4ZWNmMzBkYzdkNzk3ZTk4MjlhNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjdUMjE6MzU6NDQuOTgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9LblFlWXZDUF9wcllxM1pDX2dzbGJad09Ua09JaW55ZXZXbjViZ3JkVU10ZGozNURwb3lxNk1HSVFnbnB1VWtDU3dqc0tmQkViZ3ZQaGJkM0hISTlCVDlCZlB3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6514aa33a8ac4', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6514aa33a8ac4', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6514aa33a8ac4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6514aa33a8ac4', 'paypal', 'buynow', 'rect', 'gold');
});
}