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/9kihkr6hzome/plugin/49/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATMyStZEKclh4Lv3QSnvur_ab4neDm7iBEThLxD4HyYUAbEqeJ3t4hOD9qPV0LG2BtyHU3aBsBYMDWYY");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjg1MjRiNjU1MDE0NzdiNjY2MGI3YTU4NGU4ODdhZjU2MjNhYzg2ZjEzMjFkNzBlMmYxNGM4NTQ2NTU5YmViZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDZUMTg6MzE6NDIuMjY0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU44N29NYWpHMm1BYzhWNURsS2psSFBrQkFneUFUbFh1VjZEMms3OFhDTW1oUGxpaGEyWjd3Mm1PUVJxNXJnSmhVNm0zNF9wV2hsT1dHNmlRLW95OVJjMUh1bkZ3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e147af6873a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e147af6873a', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e147af6873a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e147af6873a', 'paypal', 'buynow', 'rect', 'gold');
});
}