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/zfwp2u2jrnkq/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVvlb7VNWBMOw8kf4U6KK8VecFvPW2nKtv6sskYppJmendOcv3Z3dtf15g_FL7AhUMDp-qXgKfcdVK4d");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmE1Y2U4OGNmMDQ2MDc3ZDM0MjIxMTliOWE5MWVkYmEyZGFiMTIzZThlN2Q1M2NjNGU2M2Q5ODVmMjgyNTJhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMzBUMjE6Mzg6MzIuNTk4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBjWWMxRXNVZXBCRWMtRG5oNFgxb0ZINjZBbUl4VDJwQ3Y1cmZzYlB1Zjg1YjkxZ1p4UHhnQUtSS1h0dElwNXZHN1hmbWxYanBrbWVxMUJpZlpVMF9zOFltWDVRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6569057a1720a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6569057a1720a', 'paypal', 'buynow', 'rect', 'gold');
});
}