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/kv8gaajn7e22/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AU_xpk3VPLbH7liAlYd5Dh60DxjfyuC5-Xo2UdE7O4YdoZLFv0L7nVhhF09aYtTBWMJBi54dDRobW8w-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODgzZjNjZGEyNzA1NTczMWU3NWJhMTcwNDFhOWZhZTM3YzI3ZWFkMmNiYmIwYTFiOWIzMzgyMTNhMmRiYWQ2MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMDZUMDI6MjU6NTIuNTgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9WSUxFRG9EdE91Zk5mQlMzbjVNZHBYbGJhc2VmYTk0cWN6MmVCTGZPRWZMNFpOMUZLWWZrcEY2U3UwZkJWN05raXp4MEUtSWNuUW9fZ2dwTmQxNjVtWlNrNWFBIn19");
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", "AU_xpk3VPLbH7liAlYd5Dh60DxjfyuC5-Xo2UdE7O4YdoZLFv0L7nVhhF09aYtTBWMJBi54dDRobW8w-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODgzZjNjZGEyNzA1NTczMWU3NWJhMTcwNDFhOWZhZTM3YzI3ZWFkMmNiYmIwYTFiOWIzMzgyMTNhMmRiYWQ2MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMDZUMDI6MjU6NTIuNTgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9WSUxFRG9EdE91Zk5mQlMzbjVNZHBYbGJhc2VmYTk0cWN6MmVCTGZPRWZMNFpOMUZLWWZrcEY2U3UwZkJWN05raXp4MEUtSWNuUW9fZ2dwTmQxNjVtWlNrNWFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "nl_NL");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65e7da1b7fdda', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65e7da1b7fdda', 'paypal', 'buynow', 'rect', 'gold');
});
}