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/bmvuwg41eqyj/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZBiYtWftySqmbN9TwKkrbAZYB7CBHtsoM6MIKKQUSfK7MO4PrSZsfQ4n2xqa9vWLQzC1UDBFf-G7Ft6");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYWUzMGU3ZGZhMTg4MzkzMTM4MDc5MDBhZGI3ZmViMGQ2NTI0ZGY1NmQyOGU2N2UxZTUyZDE5M2MzNjI2NWVhNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMjlUMDc6MjM6NTMuNDIzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1zOVZtSW5hUUVFRE1tS09jWmNYSlJIRnN3WXgySWREOGlXdGZjWWQ0RWlSd0FiZGFrN3R4TTZhSFp3QXJzV01mTHNwc2JKZi1yTWRSbWN5RkhySGJnNmlObG1nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('644ccebb890b4', 'paypal', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('644ccebb890b4', 'paypal', 'buynow', 'rect', 'white');
});
}