if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/7z7i734gqk1j/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYiQXsdQ_LtlY3DwHh-BVizOKYwGe_2astMYYP1WJ7jbT2l1zcitsBXm_8FcsEOdyZpS-JLNZnPb-cnj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzM2NjZiYzZhNmFiM2JmOWI2NjRmOWQ3YzlmYTQxY2E5MjAyMDRiN2I1MDkyOTJlOGRkOWE1NDY5NTg0YmY3YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjdUMDg6NDQ6MTMuNDQ4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9CS1JqWWxQMnMxbGFva1c5Sl92SlNTQV81eFBQc0F5MFdrSjh1UGU1T0lJZ0J4S3ptM2dOUDl6ZEtaRVRuUEljRmt4LWN0aTk2a3NCNjJBSGxJT2l4Y3hZRmZRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b96ddd0a85e', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b96ddd0a85e', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b96ddd0a85e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b96ddd0a85e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b96ddd0a85e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b96ddd0a85e', 'paypal', 'buynow', 'rect', 'gold');
});
}