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/1ukve4rrx6jg/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcyPzf2VjtOajQL2ObvOb_AUwgfE6ghHJNzlaWZ2oadsPjf7At8ZbWR1rWQ34bk2lfAn_wFpbKEhHpcM");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDE1OGRiZjczZjY1ODE4NjQxYTMwMzFhODBmMzg4NzU5MjQzMmYyMTA4ZDY1YjY5ZGZjZmRmMzRmZWYzNzJlOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMTlUMjI6MDE6MTMuMzUzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5WS01veW1zbmlCYWdKVHFyNDE5eC1zaTE1emFITG1ES3cyNVFGb0drbnNDRlYyUEdDVjRDUG95S3hfSTZDYjI1RDVyUG9OWGN4S3lrQ1M1elR1ek5zUnE5bElnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63c9c353e6b50', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63c9c353e6b50', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63c9c353e6b50', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63c9c353e6b50', 'paypal', 'buynow', 'rect', 'gold');
});
}