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/gthdbjgr3ko5/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYYrf3Jar6Pm81PqGjg5Sa4tkQeb6qm9jRTvITFvokg01yud2zqqnKSqoX2VpW7zg3qYlO5bka7G_oVz");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzM1ZDQ4YWU1ZDExNGRjYzBlYTUzZGUyNDVhZTFiNGEzMjRkZWQ4NjE3NTU0NWJkZDg2ZTRkOTMzNWNhODQ5Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjdUMTE6Mzc6MzEuNjU1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU80bDRiRWxiaDB4eUwxeEdiQnI3WTZpdkVmSWYtRjU4TlMtZWJaUi0tcXhfUFlFX05OOVh0OVFzZWY4ZHRqOERVR2xtUFNpSU83X2RLUERic0NGNW5ZbHk0eWR3In19");
script.setAttribute("data-append-trailing-slash", "1");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b9967b4be04', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b9967b4be04', 'paypal', 'buynow', 'rect', 'gold');
});
}