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/8ent9s2yxqb4/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AedFdIM6jUIjbT1Td0LBh0G4eDJbE4n5y-1k10i3V6_Nhui-7dMWybL3-ON6siza92iOiqp3vsa2IK8H");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWI5YTdhZGI0NTFjODM4YTMyYjQ0YmI4YjU2OTE4YmE3ZWQ3Zjk1ZWJmMTA4MjgzOGM4ZDU3NTZkZjA2OTJlNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjhUMDY6MjU6NDYuNDM4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0xM3NzdGlnWkxmSy1xVEFzZTAxYlFMUUctc01iWFpxQjluR204X3hkRjNGZElpalJ5T3c0S08yWHF6U2h3blozaTBSOWp1czhXeW5SeFd4Ml9GaVZYY0JSX1J3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d4c0119fd2e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d4c0119fd2e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d4c0119fd2e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d4c0119fd2e', 'paypal', 'buynow', 'rect', 'gold');
});
}