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/wi88jrn936vt/plugin/5/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZTjRxpj3vNir-Nyj12o4HU0JIlssCnKR3-YkQbUO6GSg1PFTvRUd1so7Z-IT_giy8T57bcTP1KE1tEP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDU1NGU0MDBhZDJiOTViZmUwMmI4NTljZDBhYjFiMmIyNDJhYTUxOTE3MzczZWFmM2IyNTFkMzI4MzE0NzlkNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6MDc6MDkuNTUyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBtUEoxZHVVdERvY2RjTTNYOGRJYmRQUzBvWkszWmlnZE9iRmFBWGt1Smo3RXdSd0RNUVF6ZG16V0gxNVFmeFZSRmd0cFFXZE5ZTThzM1o4OFBuRUtKb0JHSnFnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZTjRxpj3vNir-Nyj12o4HU0JIlssCnKR3-YkQbUO6GSg1PFTvRUd1so7Z-IT_giy8T57bcTP1KE1tEP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDU1NGU0MDBhZDJiOTViZmUwMmI4NTljZDBhYjFiMmIyNDJhYTUxOTE3MzczZWFmM2IyNTFkMzI4MzE0NzlkNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDA6MDc6MDkuNTUyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBtUEoxZHVVdERvY2RjTTNYOGRJYmRQUzBvWkszWmlnZE9iRmFBWGt1Smo3RXdSd0RNUVF6ZG16V0gxNVFmeFZSRmd0cFFXZE5ZTThzM1o4OFBuRUtKb0JHSnFnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dcebe395fc3', 'card', 'buynow', 'rect', 'black');
});
} else {
renderPayPalButtons('66dcebe395fc3', 'card', 'buynow', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dcebe395fc3', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66dcebe395fc3', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dcebe395fc3', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66dcebe395fc3', 'paypal', 'buynow', 'rect', 'gold');
}