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/pvdtyofq45f2/plugin/40/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVIp3QYDfOHUuC2DG7p--7lS4iiI2Jg9CdgbkEt0RYslHbygrI_00oWzv-1LT7VLd-AUsprnpQcYzF2Y");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2RkMWY3ZTZiMGM1N2I4YWZhYTdhYmZiMGYzMTU2MTdhYTUwN2VhY2JiMjhjMWZhOTQ2ODI2ZjQ3MGRiOGUxZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDdUMTI6MjU6MTYuOTczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1WRnhSUXNBcEZDdzlWZnh4VXY0azdVZUx5V3RyVzJNM2lwdGJLc2prNlhTWHo3Qnlyc1VoeHdHcm5wcnMySjV5eThrdEh5WVFPNmYyWkVBRnVYcXh5YWwxdFl3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "fr_FR");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AVIp3QYDfOHUuC2DG7p--7lS4iiI2Jg9CdgbkEt0RYslHbygrI_00oWzv-1LT7VLd-AUsprnpQcYzF2Y");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2RkMWY3ZTZiMGM1N2I4YWZhYTdhYmZiMGYzMTU2MTdhYTUwN2VhY2JiMjhjMWZhOTQ2ODI2ZjQ3MGRiOGUxZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDdUMTI6MjU6MTYuOTczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1WRnhSUXNBcEZDdzlWZnh4VXY0azdVZUx5V3RyVzJNM2lwdGJLc2prNlhTWHo3Qnlyc1VoeHdHcm5wcnMySjV5eThrdEh5WVFPNmYyWkVBRnVYcXh5YWwxdFl3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "fr_FR");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6571bbd07f612', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6571bbd07f612', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6571bbd07f612', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6571bbd07f612', 'paypal', 'buynow', 'rect', 'gold');
}