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/ncahu2oicrg9/plugin/12/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AcC7C7vfKvJC9g8ioU5CoKFmFESCUBzt1uT3CM5kPQV9x-33jUAhWsBAnyqlaXr4tTvXIcqA-QJ-UcVt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTg1NTFhNDE2NDgwYzEwZjYyN2NlMTJmMGY3ZWU1YmQxM2E5NDFlNzMwY2M2YzIxNjlkODczYzY4MTA0NmQyNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMDc6Mzg6MDAuMDUzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5QN1dFM3NwNXN5TEJVWWJYcUhYSUdsTUN3eUNlUnl5cGl1YUgyWExUZnpZN0o0bG92QUhrV0pTYzZiSFU0UXpUbHpIT2lodERyQmJtYS1Gbnd3TlItYWRTNmhBIn19");
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", "AcC7C7vfKvJC9g8ioU5CoKFmFESCUBzt1uT3CM5kPQV9x-33jUAhWsBAnyqlaXr4tTvXIcqA-QJ-UcVt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTg1NTFhNDE2NDgwYzEwZjYyN2NlMTJmMGY3ZWU1YmQxM2E5NDFlNzMwY2M2YzIxNjlkODczYzY4MTA0NmQyNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMDc6Mzg6MDAuMDUzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5QN1dFM3NwNXN5TEJVWWJYcUhYSUdsTUN3eUNlUnl5cGl1YUgyWExUZnpZN0o0bG92QUhrV0pTYzZiSFU0UXpUbHpIT2lodERyQmJtYS1Gbnd3TlItYWRTNmhBIn19");
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('662a133b2b6cf', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662a133b2b6cf', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662a133b2b6cf', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662a133b2b6cf', 'paypal', 'buynow', 'rect', 'gold');
}