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/qpod3xbz504k/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQ_G7zh6r8uV4DjmYhLNmpeQnWLwN02wQxLkwKZdv7k6xY3FULcrd9dNOmqH8_S7mV_jQWy-jNKkkXXR");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGJiY2Y5ZTVlYjBiNmVkMTA1NDg4MDU0NDU3ZGUyMDZlMTQzMzM1OTBmYWU5ZDI3ZmZlM2MxMzJiYmM3M2EzZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDFUMDU6NTM6NTYuNTc3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5oNWZudmgyUl9fN1NxNy1kN2dseDdMODJ2Vk9kUU1Mc0FrWENqR1FqeUlRREZpR0p6dXdpcENOR2g2ZWVkdG85RnBiNjVYZVBYel9xXy1kd3lLT2JIWkwyLUtBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d9fe7433091', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d9fe7433091', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d9fe7433091', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d9fe7433091', 'paypal', 'buynow', 'rect', 'gold');
});
}