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/m7ng4yu6ljs1/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZO7vnIydEKy_XCrIEjq21sGOEwfCunnPa3ElaaA_rqkabMZ4GEXw1IThrJElkh0Z0cIZCIihNaM_zFx");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzQxMTE1OTUyZmM0NTNhNmVjNjE5ZmRmMDlhNmU5ODM5ZTk3ODZiNDE3M2IyZDk3NDAwM2IyZDc4YTcxYThlMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDEtMzFUMDA6MjQ6NTguMjg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9GWHJoYWxZWlI3T2JrSjRmZFV0OF9qaHFfYTRMMy1pYzNpRWR0ZGxXUGZ6aEpLRHNBdmlsUjR1SzcxOEgwZG5mNjUxcWVHRWVfYW1ycnNsbkdWdjc5ZHlkc3Z3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65b99359ddbb9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65b99359ddbb9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65b99359ddbb9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65b99359ddbb9', 'paypal', 'buynow', 'rect', 'gold');
});
}