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/46gelrxs6k5l/plugin/207/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQf2ajC03_QqyS-MbYLwfIW80yV7_rd-CNavEa72s0pfRnqW-4g42JFJcX9mEcYVCNYCp-9cK5RQmGL2");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjRkMmNhMmIzYTM0MjliMTdlODIxNGQ3ZTc3ZDJjNTQwZDFlYWY1MWQzNWQ5NjBmYzZiMGQzNTFhYmNkZTJjNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMTBUMDA6Mjk6NDEuNDQ5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU94OHhVRXJGTFJtU1QyX3JLLTNoZDJ2bk8xZlVFOWZwYTA2Nm1Zb3piMkhsOTcwQWozcklrd0plSFFfd0lvalRfSDM4RnNoc3BXZloxS1JtLThfbnRlSmZTempRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "nl_NL");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AQf2ajC03_QqyS-MbYLwfIW80yV7_rd-CNavEa72s0pfRnqW-4g42JFJcX9mEcYVCNYCp-9cK5RQmGL2");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjRkMmNhMmIzYTM0MjliMTdlODIxNGQ3ZTc3ZDJjNTQwZDFlYWY1MWQzNWQ5NjBmYzZiMGQzNTFhYmNkZTJjNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMTBUMDA6Mjk6NDEuNDQ5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU94OHhVRXJGTFJtU1QyX3JLLTNoZDJ2bk8xZlVFOWZwYTA2Nm1Zb3piMkhsOTcwQWozcklrd0plSFFfd0lvalRfSDM4RnNoc3BXZloxS1JtLThfbnRlSmZTempRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "nl_NL");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6483c423a1209', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6483c423a1209', 'paypal', 'buynow', 'rect', 'gold');
});
}