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/vqsi6s16km1o/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AbANNe44gtMeD61hWpmti1NB_eTxSPkCzvPTKl4_jr0OZJdZ0opD__CxHwtpyh3Kit0v1cB87X5mBOrz");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODE4Y2IwYjM5YTlhNzM1Y2RiMGM1MzY4MzZkMjQ0YTAxN2E1ZmQ3Y2RhZWJmYmU1MDZlZjZiNDkyNWFhOWI4NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMThUMDU6MTc6MjUuNTgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1hbUdxMXR1T0wxQXNRRWd6WGQ5SHZmSzBPQ2t1NUo2N19wd2dHV3ZRRFhwR2tTMFRwVXRfd3NqYUU1LXBNcjV2djdCcTBTRDZhNS1na0ZNREYtU3hmRHY1VDdRIn19");
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", "AbANNe44gtMeD61hWpmti1NB_eTxSPkCzvPTKl4_jr0OZJdZ0opD__CxHwtpyh3Kit0v1cB87X5mBOrz");
script.setAttribute("data-currency", "GBP");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODE4Y2IwYjM5YTlhNzM1Y2RiMGM1MzY4MzZkMjQ0YTAxN2E1ZmQ3Y2RhZWJmYmU1MDZlZjZiNDkyNWFhOWI4NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMThUMDU6MTc6MjUuNTgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1hbUdxMXR1T0wxQXNRRWd6WGQ5SHZmSzBPQ2t1NUo2N19wd2dHV3ZRRFhwR2tTMFRwVXRfd3NqYUU1LXBNcjV2djdCcTBTRDZhNS1na0ZNREYtU3hmRHY1VDdRIn19");
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('664840d505434', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('664840d505434', 'paypal', 'buynow', 'rect', 'gold');
}