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/s0bztvj8pguc/plugin/21/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AYvp1gSiZeDGR-kR0TJv8WALcp0xOe4KHpBwoNGOI4l0_Z8EtiqadR9CK2ifL-yzCDqxt6_DODtxFH3U");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDVhNDM2YmJiYTI3ZDA1NWFjNzZhYmM2MGE0ZTg0OWQxNDY5YjhlMjg0MjcxNjgxMzhjOTNhN2Q5YzFlNDk1ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMThUMDc6NTg6MjQuMDc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1paERsN3BIQzdxOHBpYUpCN3hkWjd5WnlrVW0wNHkxbWNtVTJXRnpfcFljcmZIYTR6aWRwdkRDR21pTmp2S3dtbEE1aFVJQ1N3SGdHT0IxUC1YZjFGaFdTYlhnIn19");
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", "AYvp1gSiZeDGR-kR0TJv8WALcp0xOe4KHpBwoNGOI4l0_Z8EtiqadR9CK2ifL-yzCDqxt6_DODtxFH3U");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDVhNDM2YmJiYTI3ZDA1NWFjNzZhYmM2MGE0ZTg0OWQxNDY5YjhlMjg0MjcxNjgxMzhjOTNhN2Q5YzFlNDk1ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMThUMDc6NTg6MjQuMDc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1paERsN3BIQzdxOHBpYUpCN3hkWjd5WnlrVW0wNHkxbWNtVTJXRnpfcFljcmZIYTR6aWRwdkRDR21pTmp2S3dtbEE1aFVJQ1N3SGdHT0IxUC1YZjFGaFdTYlhnIn19");
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('652f9d597c927', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('652f9d597c927', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('652f9d597c927', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('652f9d597c927', 'paypal', 'buynow', 'rect', 'gold');
}