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/qpod3xbz504k/plugin/22/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQ_G7zh6r8uV4DjmYhLNmpeQnWLwN02wQxLkwKZdv7k6xY3FULcrd9dNOmqH8_S7mV_jQWy-jNKkkXXR");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjM3YTQyMzRiMWU3YmIwNWYzODUyN2ViNmNiODU5MjM1N2VhY2I4ZDljMjVkMGZlYjYyNjVkZWRmNTUzMmQyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMDZUMTk6MjY6MDMuMTkwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1Qa0VEamdLcUdqelJ2OE9Yakp5czJFQ2ZDck5ZcVJ2enB4VXVJbndpQVZtMlNmVUtMUWp5WThxU013b18wUFE0dnB1R1AxZGtHN2hEQWF6RWp0MFJNWHd3SmNBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AQ_G7zh6r8uV4DjmYhLNmpeQnWLwN02wQxLkwKZdv7k6xY3FULcrd9dNOmqH8_S7mV_jQWy-jNKkkXXR");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjM3YTQyMzRiMWU3YmIwNWYzODUyN2ViNmNiODU5MjM1N2VhY2I4ZDljMjVkMGZlYjYyNjVkZWRmNTUzMmQyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMDZUMTk6MjY6MDMuMTkwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1Qa0VEamdLcUdqelJ2OE9Yakp5czJFQ2ZDck5ZcVJ2enB4VXVJbndpQVZtMlNmVUtMUWp5WThxU013b18wUFE0dnB1R1AxZGtHN2hEQWF6RWp0MFJNWHd3SmNBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66b2857255cef', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66b2857255cef', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66b2857255cef', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66b2857255cef', 'paypal', 'buynow', 'rect', 'gold');
}