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/irmd0ca807c9/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATmZ8gsKLGjIz47_b5oAbIYZVbCh5iGEW7VvvWOCmkMF66nTcOflxD1lWLqLWHR2qKl8sY8pyRGBY6K3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGY5NDU4YjVlN2Q1MzFhNTgyMTg3MWM3Mzc5ODQ5NGY3ZDEzMzljNGUxNjFkMjU4YTIzZjIwZmY1MDE1MjE0ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMDM6MTA6NDEuNTc0NjU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1DcDRFYW1pN0FrZzRabTE5SDFkZEFTbnNTRXp2ZlJHSm5XbWtCMkk4SUl4dXBZa0s3S1hfNFRpUlp0QmNLeGY4Rko1SUFnV1BacVp6ZUhpc3EteGl1R2xxOU5nIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ee07e301926', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ee07e301926', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ee07e301926', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ee07e301926', 'paypal', 'buynow', 'rect', 'gold');
});
}