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/pruv6in622cm/plugin/29/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AeY1weiUr02CqvrdwRVq2VljM1N7TkPVsZvKNgX9wlmvFp7SlEcDX3e2O4LoeK3zjlPMxvwCEjUlDrGj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTQyN2IwNDA2YjFmOWJiY2VkM2NkYTUzNDUxN2Q5YmYyNDVmZjA1MzI4ODg1NmU5ZDY4OWM1NjA1Y2M0ZmI5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDFUMTc6NTI6MzcuNDQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9RX1lleXRLRnB2b2k1cVRVRVJqYi1zLVVSdGxBRC1UR3pwS0ttdnFtYS1ncUZUX3lpNWJiZFl3UzU4Q0VnTk9YWENIWmJZWFVGNmNxTGNZOE1lUm81dmVJT0N3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf346519727', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf346519727', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf346519727', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf346519727', 'paypal', 'buynow', 'rect', 'gold');
});
}