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/d7kuwifl49rc/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AepurHh37cP96KFgwFG37HZAkguAM2o__x_qbD_EDS47yyT2w84ohzFlPIovmX37uS0bTLip7JXyYbcp");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWFjYzI4YjM5NTViYjIxMjUwYzk5YmU5NTY4ZGM1ODcyYjcwMTQ3ODFjNmQyNjY3N2ZlYzZlMzY0ZmJhMThlNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjBUMTE6MDU6NDcuMzg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBQdnJnRG5TT0RhZG1CNE02WmRBVFZQSWhqeC1Mb2VET3djTE50bDdxMlJHeGNkRUctTkQwdHBrUi1qcGhHWlZaSkJBcm1CT0tRV1hwX3BnMnA2c3h1VmpsZU5BIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6287760aa6966', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6287760aa6966', 'paypal', 'checkout', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6287760aa6966', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6287760aa6966', 'paylater', 'paypal', 'rect', 'gold');
});
}