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/0zef0kd5dbv8/plugin/2/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AUcKPwY3sQTidz4ro72hrZXQB2XSOFHKMMW3DUsWcWLZiZP4y1ffLG9HyimN2xP9bWYTNv55b1vrs4go");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTMzNTkxZWE4ZTM5MGFjZmRiMzk0ZDQ3NzA2MTE5NGQ0Y2YyN2M0ZDNhODAyMzZhNjZmMTY3YmFhOTczM2VjYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMDRUMDg6MjQ6MTEuNzU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2eW5xZW1yLTlxQkFFWXdBVVVOUW5uX1FaenlvOTV1S0N6SGdFMmRyZU1oWV9WR1Y5bEpic1lXN05nc0JEZVI4aDROZHYxNDFsaDY4dFR5Zm5uWGVXeXZqRjR3In19");
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", "AUcKPwY3sQTidz4ro72hrZXQB2XSOFHKMMW3DUsWcWLZiZP4y1ffLG9HyimN2xP9bWYTNv55b1vrs4go");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTMzNTkxZWE4ZTM5MGFjZmRiMzk0ZDQ3NzA2MTE5NGQ0Y2YyN2M0ZDNhODAyMzZhNjZmMTY3YmFhOTczM2VjYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMDRUMDg6MjQ6MTEuNzU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2eW5xZW1yLTlxQkFFWXdBVVVOUW5uX1FaenlvOTV1S0N6SGdFMmRyZU1oWV9WR1Y5bEpic1lXN05nc0JEZVI4aDROZHYxNDFsaDY4dFR5Zm5uWGVXeXZqRjR3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "nl_NL");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66865eb0a7d09', 'card', 'buynow', 'rect', 'black');
});
} else {
renderPayPalButtons('66865eb0a7d09', 'card', 'buynow', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66865eb0a7d09', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66865eb0a7d09', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66865eb0a7d09', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66865eb0a7d09', 'paypal', 'buynow', 'rect', 'gold');
}