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/qlxmcsumdvz5/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVEmE8TEdM3y6KAegbKR4CCeepA6RguTgXlzvqA-mTlNrD-PTf2G5j23INogwmEJssEIAR0586LfFNtC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjAzOTNmNWIwMTgxYjQzN2M0ODJmODk2ODFhM2U2ZTE4MzZkMmQxNDcwYmE5MjU4OTM0MzZmYWEzNjk1M2M2OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjVUMTU6MTU6MTIuMjM5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA2TzItX3IydEREeFBzRThFSTBEcUVPRnY3UkxKcm5JUkYwOUF2a21yellmS2llaGVxNURrZzlYcWVhSTZDX2NXb1R2aHR2b000UHRRS0U3dFlZNU1CdFc5THRRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628e47ffda26e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628e47ffda26e', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628e47ffda26e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628e47ffda26e', 'paylater', 'paypal', 'rect', 'gold');
});
}