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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGExMGE2NzE4ODljNmMyOGI4ZTA1OThkOGNmOTVlMTg2ZmNlMmM4MzFkNDliN2IyMWE4YWI4Mzg4N2EwMmRhZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDRUMjI6MDg6NTYuODg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9kWTV1OWhmSlZnMlJoRnk5eVEwSVJ3eHQ1ZFI4b3RsNWFYN19pTlU4V2NnWUNtVEI1OHFqbGZZNTZkVzBqZ1gtTmlSdERCUFowaDVnQWlkUnIzZTcxN0dwcmtnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dedf7e3bf01', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dedf7e3bf01', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dedf7e3bf01', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dedf7e3bf01', 'paypal', 'buynow', 'rect', 'gold');
});
}