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/5j1bnzqvcami/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQWUBHjk7RygjOyBpruFBxWCep28SfAoF8gn7btxgYT3yk1cxB9Aba529J4W7gKksDFtnBnccOOUgyyK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmQ4OTdjZmM3OTE5OWM1M2NhYTIzMDE0N2E4ODMyOWUyMzEzY2MxMjM4ZGNjOTNmYWJlNjc1MDM2Mzc5OWFiZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjRUMDY6MDE6NDUuMTQ2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5xZUJ6OGc2eURrTXVNbWhtN3o2NTBxM2I5YzVPTUp6bDR6dDlHTnk0eTM3dmtWZ3ZvYVpjUzRGNlR4ZDJtRlVyZ0h5XzUxU3BBMHgySmljT1hxWFkyUUFhTjFnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63cf7494c26e2', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63cf7494c26e2', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63cf7494c26e2', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63cf7494c26e2', 'paypal', 'buynow', 'rect', 'gold');
});
}