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/fsxbsoqhfg6e/plugin/63/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQDbUHETw5sRUUsLM3jyAdOQGdC5pXHAuSiqy9GfZXflNR1sK45UcAGukA-3tq4P9HM_88JkW_nM9tGg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzFhY2U0NTY1MDk5N2Y2ZjAzMDkzZTY0YTE2ZjU2ODg1OTAxOGY2YmMzY2U4N2MzZjg5YzMyNTc3ZDQ1NDc3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzFUMDg6MDE6MTEuMTI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU56WVhvaG4wbFZybU1TYmktS3REOERRRlAtaEJGWFlXWGsxZWgxNVFPTjdrUS1SdzNZc1dqcGVyVGZsei1xdnAyYmJqbW4zMWFsSFhrZ2I4WUY0aFE5MVJkT1BBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d8cf9ee1111', 'paypal', 'pay', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d8cf9ee1111', 'paypal', 'pay', 'rect', 'gold');
});
}