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", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTdjZDU5NDAyMWI1MmRiMTE5OTVmNmRkOWE3Njc1NzViMGZlNDVmOTc5M2ZjZjdiNmRiNTc0YWY1ZTEwZDdmNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMjRUMTU6NTE6MzQuNTQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5neXdWeGxSM3N4U3lib1NFOUVYbjN0bGQ5ZnpLdGxzc1JMTUdhaWp4R0c3azdxTlJiUzBacVllcUx6dzZCeWk2YS01T1ljaTZNR1VmTWU2NGwxTG8zTHpseTRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "fr_FR");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65885385ac697', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65885385ac697', 'paypal', 'buynow', 'pill', 'gold');
});
}