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/9891ii0uggla/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATnf8Qr_A5tAKqWrobc7QAbbai5ryIQC7_neL7G8ND2GkL83TRkQfWwshmwZT2uWcNdWMUVW19imCP-K");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY3MDNlYjE2OWE3MWM4ODk4OWE4ZjQyMmE1OWU5MmNkMDg0NjgyMzc0MWU2OGM3OGQzOTIzNDcxZjBjZmM4ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMzBUMTY6MjU6MDguODEwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA1OU1JQnN5NEQtY3BlcFllQVowOEcyYW03WWwwd0hqS09lYVRfaGNBaWdSbEVRa1ppTk9WTWRCbGU4ZGMwMU44VVFSbDNlTzM1bHY3YlVLWE9BYUppamY0bWFnIn19");
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", "ATnf8Qr_A5tAKqWrobc7QAbbai5ryIQC7_neL7G8ND2GkL83TRkQfWwshmwZT2uWcNdWMUVW19imCP-K");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY3MDNlYjE2OWE3MWM4ODk4OWE4ZjQyMmE1OWU5MmNkMDg0NjgyMzc0MWU2OGM3OGQzOTIzNDcxZjBjZmM4ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMzBUMTY6MjU6MDguODEwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA1OU1JQnN5NEQtY3BlcFllQVowOEcyYW03WWwwd0hqS09lYVRfaGNBaWdSbEVRa1ppTk9WTWRCbGU4ZGMwMU44VVFSbDNlTzM1bHY3YlVLWE9BYUppamY0bWFnIn19");
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('6772c9f6cb38a', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6772c9f6cb38a', 'paypal', 'buynow', 'rect', 'gold');
}