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/pftlrybf7t3i/plugin/15/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AezyxtQYYSa3MP4XSR-uGZrDVMdQAhzUNt9xuRq2TvUUqj5m1EbBiqdPJwp120cuCEcLlevgHDOxDhgU");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTYwNDhiZmViNGE3OWU3YWRjNDU1OTBkODY0Yjg3ZWNkZTNkZTNhOGVmMTlkNjg2YTIxOThkN2M2YmI3ODBkOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjVUMTk6NTE6NTIuODE0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1DQnNTUHJIa0NmaFFnWnNFVk5DUFp6R1gtQzBmZWFZemJoZTZob0d4UW1udlVLa1hHa01zZTByLURnQUdDYmU2Q2NMc25VWGJxRTRHa3RFMkhBcWlhZ3BxOTlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b767587540f', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b767587540f', 'paypal', 'checkout', 'rect', 'gold');
});
}