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/2ik9wb1bcb1n/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AU5-MTgq2QhN49_PdU7MeOy6cu5ZX3l340fAsj6usP8r4ju7iATtPTJObk07NqReX_fdo1-t-Ex1k8SB");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTZlZGRiZWM5MTE2Y2Y4NDU5NTBjMWI2NTg3ZDgzZmQ5NDkyNTc0OTBjMjc4ODZkYTkyZGU3NzFhZTFhZjQ5MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTlUMTc6MDY6MzMuNzQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU81QVVtRGpuLTAwLUNrN0NGckoyNUsyTHpjWmpiM3FWQmVCZ2piZXNoOVd5aDduSndMaUFOdzhsLTY2Zkc2UXo3UFRVWlZucTFWdFZLdTJtOW1CbURIY1U5VmlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('655a41e9b417f', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('655a41e9b417f', 'paypal', 'buynow', 'rect', 'blue');
});
}