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/o5q54sllbt89/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQis2o1PITJJGhm0ZdcKoeg-Zpg8RfNDZJVTVB08acm7WYKW7COukdu1U-TtVBVzIqM2xWT6wAzDGyzd");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmVlMjFhOTNmY2RhMzc1YzQ4NzM4NmFiNmFiYjNlN2M3YWZjOGYxZjc3YmEwYzYzN2IyZGU1YmYwMTRjNTE4MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMThUMTU6NDI6NDUuNTA0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1fR3Q4eW9udGdDaE8yX3Q3RDBKcUEtM3FSQUtLUGJhMzZkMjZKd0Nud0ZLZ1l6VFBtZk9lc0N3RXJtZkNpb19aMTJPRWE2MENlV3pLNkVhUWZpV2ZlcnFUTEhnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('669937f4db26d', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('669937f4db26d', 'paypal', 'buynow', 'pill', 'gold');
});
}