if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/7z7i734gqk1j/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AYiQXsdQ_LtlY3DwHh-BVizOKYwGe_2astMYYP1WJ7jbT2l1zcitsBXm_8FcsEOdyZpS-JLNZnPb-cnj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzFmZGJmZjFkYWI2ZDI5ZDc2ZWNiYTk1OWIyYmI0ZGFkOTViYTgwMjIyNDg1MzcxOTI1ZjZhMDRjNWQ0NzYzM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMzBUMTM6MTM6NTUuODU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU83S1pBTXZ4UDVWQVp0c3ZRcFhrNHFfS0RDX0o2WWhkZ05MSThybmhOc1lMd1pFX3diRl9RbElQY2FZcHlOUGNTMFpEWGZWel9NdXNQWVZqTjd4eXp3TkpzS3h3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AYiQXsdQ_LtlY3DwHh-BVizOKYwGe_2astMYYP1WJ7jbT2l1zcitsBXm_8FcsEOdyZpS-JLNZnPb-cnj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzFmZGJmZjFkYWI2ZDI5ZDc2ZWNiYTk1OWIyYmI0ZGFkOTViYTgwMjIyNDg1MzcxOTI1ZjZhMDRjNWQ0NzYzM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMzBUMTM6MTM6NTUuODU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU83S1pBTXZ4UDVWQVp0c3ZRcFhrNHFfS0RDX0o2WWhkZ05MSThybmhOc1lMd1pFX3diRl9RbElQY2FZcHlOUGNTMFpEWGZWel9NdXNQWVZqTjd4eXp3TkpzS3h3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6630f8124b8d3', 'card', 'buynow', 'rect', 'black');
});
} else {
renderPayPalButtons('6630f8124b8d3', 'card', 'buynow', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6630f8124b8d3', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6630f8124b8d3', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6630f8124b8d3', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6630f8124b8d3', 'paypal', 'buynow', 'rect', 'gold');
}