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/1gqkbuhbmmsq/plugin/30/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZtnZXua5a6JaZ__0EK0ITAmr-UI6DTi0JBAxRJNOVHjR9CJdrmYaefBIQrrTisIH2F05nb4JWbgFXIm");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGVjNjFmOTE1MDg5Yjc3ZGMyYjVlYjczODlhYzBlYmUzMWUxMDJlNzk5YjdjOTExNGY4MDBmZTQ2NmQ5MjgzNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTJUMDc6MTU6MzcuMzY4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5za1g1YWpRNmJYQ3h2V2JaWEJMcDBWTjVvanc5WTVpUnhCNzZFYXlwUGJKcFhuZU9BRkJSNXBUT0tkRXpTc1ZKbVhTQzFuRlp3akpTM09kc2ZHUW9MSVQ5UHBRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f60c1ad8bb6', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f60c1ad8bb6', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f60c1ad8bb6', 'paypal', 'pay', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f60c1ad8bb6', 'paypal', 'pay', 'rect', 'white');
});
}