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